From 494c829b53d152432f563cb272fb09ce43c91195 Mon Sep 17 00:00:00 2001 From: Mauro Balades Date: Wed, 24 Jul 2024 14:27:51 +0200 Subject: [PATCH] chore: Update build workflows to support warp builds --- .github/workflows/alpha.yml | 6 ++++++ .github/workflows/linux-alpha-build.yml | 6 +++++- .github/workflows/windows-alpha-build.yml | 6 +++++- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/alpha.yml b/.github/workflows/alpha.yml index 0c8246522..2e616a597 100644 --- a/.github/workflows/alpha.yml +++ b/.github/workflows/alpha.yml @@ -13,6 +13,11 @@ on: required: false default: true type: 'boolean' + use-warp-build: + description: 'Use the warp build' + required: false + default: false + type: 'boolean' jobs: @@ -209,6 +214,7 @@ jobs: with: build-version: ${{ needs.build-data.outputs.version }} generate-gpo: false + use-warp-build: ${{ github.event.inputs.use-warp-build }} linux: name: Linux build diff --git a/.github/workflows/linux-alpha-build.yml b/.github/workflows/linux-alpha-build.yml index ed3c03cf3..ee3f7d440 100644 --- a/.github/workflows/linux-alpha-build.yml +++ b/.github/workflows/linux-alpha-build.yml @@ -6,12 +6,16 @@ on: description: 'The version to build' required: true type: string + use-warp-build: + description: 'Whether to use the warp build' + required: true + type: boolean jobs: build-linux: permissions: contents: write - runs-on: ubuntu-latest + runs-on: ${{ github.event.inputs.use-warp-build == 'true' && 'warp-ubuntu-latest-x64-16x' || 'ubuntu-latest' }} steps: - name: Install Node.js diff --git a/.github/workflows/windows-alpha-build.yml b/.github/workflows/windows-alpha-build.yml index 05e18de31..30a170724 100644 --- a/.github/workflows/windows-alpha-build.yml +++ b/.github/workflows/windows-alpha-build.yml @@ -13,10 +13,14 @@ on: profile-data-path-archive: description: 'The path to the zip archive containing the profile data' type: string + use-warp-build: + description: 'Whether to use the warp build' + required: true + type: boolean jobs: windows-build: - runs-on: ubuntu-latest + runs-on: ${{ github.event.inputs.use-warp-build == 'true' && 'warp-windows-latest-x64-16x' || 'ubuntu-latest' }} steps: - name: Install Node.js and pnpm