mirror of
https://github.com/different-ai/openwork
synced 2026-04-25 17:15:34 +02:00
ci: route all Linux release builds through larger runner
Use the configured larger-runner label for both Linux release matrix targets so x86_64 and aarch64 builds share the same faster GitHub-hosted runner path and logging.
This commit is contained in:
6
.github/workflows/prerelease.yml
vendored
6
.github/workflows/prerelease.yml
vendored
@@ -75,8 +75,8 @@ jobs:
|
||||
publish-tauri:
|
||||
name: Build + Publish (${{ matrix.target }})
|
||||
needs: prepare-release
|
||||
# Set OPENWORK_LINUX_X64_RUNNER_LABEL to route only the Linux x86_64 build to a larger runner.
|
||||
runs-on: ${{ matrix.target == 'x86_64-unknown-linux-gnu' && vars.OPENWORK_LINUX_X64_RUNNER_LABEL != '' && vars.OPENWORK_LINUX_X64_RUNNER_LABEL || matrix.platform }}
|
||||
# Set OPENWORK_LINUX_X64_RUNNER_LABEL to route Linux release builds to a larger runner.
|
||||
runs-on: ${{ matrix.os_type == 'linux' && vars.OPENWORK_LINUX_X64_RUNNER_LABEL != '' && vars.OPENWORK_LINUX_X64_RUNNER_LABEL || matrix.platform }}
|
||||
timeout-minutes: 360
|
||||
|
||||
env:
|
||||
@@ -120,7 +120,7 @@ jobs:
|
||||
echo "Effective runs-on: ${EFFECTIVE_RUNS_ON}"
|
||||
env:
|
||||
RUNNER_LABEL: ${{ vars.OPENWORK_LINUX_X64_RUNNER_LABEL }}
|
||||
EFFECTIVE_RUNS_ON: ${{ matrix.target == 'x86_64-unknown-linux-gnu' && vars.OPENWORK_LINUX_X64_RUNNER_LABEL != '' && vars.OPENWORK_LINUX_X64_RUNNER_LABEL || matrix.platform }}
|
||||
EFFECTIVE_RUNS_ON: ${{ matrix.os_type == 'linux' && vars.OPENWORK_LINUX_X64_RUNNER_LABEL != '' && vars.OPENWORK_LINUX_X64_RUNNER_LABEL || matrix.platform }}
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
6
.github/workflows/release-macos-aarch64.yml
vendored
6
.github/workflows/release-macos-aarch64.yml
vendored
@@ -228,8 +228,8 @@ jobs:
|
||||
name: Build + Publish (${{ matrix.target }})
|
||||
needs: [resolve-release, verify-release]
|
||||
if: needs.resolve-release.outputs.build_tauri == 'true'
|
||||
# Set OPENWORK_LINUX_X64_RUNNER_LABEL to route only the Linux x86_64 build to a larger runner.
|
||||
runs-on: ${{ matrix.target == 'x86_64-unknown-linux-gnu' && vars.OPENWORK_LINUX_X64_RUNNER_LABEL != '' && vars.OPENWORK_LINUX_X64_RUNNER_LABEL || matrix.platform }}
|
||||
# Set OPENWORK_LINUX_X64_RUNNER_LABEL to route Linux release builds to a larger runner.
|
||||
runs-on: ${{ matrix.os_type == 'linux' && vars.OPENWORK_LINUX_X64_RUNNER_LABEL != '' && vars.OPENWORK_LINUX_X64_RUNNER_LABEL || matrix.platform }}
|
||||
timeout-minutes: 360
|
||||
env:
|
||||
RELEASE_TAG: ${{ needs.resolve-release.outputs.release_tag }}
|
||||
@@ -275,7 +275,7 @@ jobs:
|
||||
echo "Effective runs-on: ${EFFECTIVE_RUNS_ON}"
|
||||
env:
|
||||
RUNNER_LABEL: ${{ vars.OPENWORK_LINUX_X64_RUNNER_LABEL }}
|
||||
EFFECTIVE_RUNS_ON: ${{ matrix.target == 'x86_64-unknown-linux-gnu' && vars.OPENWORK_LINUX_X64_RUNNER_LABEL != '' && vars.OPENWORK_LINUX_X64_RUNNER_LABEL || matrix.platform }}
|
||||
EFFECTIVE_RUNS_ON: ${{ matrix.os_type == 'linux' && vars.OPENWORK_LINUX_X64_RUNNER_LABEL != '' && vars.OPENWORK_LINUX_X64_RUNNER_LABEL || matrix.platform }}
|
||||
|
||||
- name: Enable git long paths (Windows)
|
||||
if: matrix.os_type == 'windows'
|
||||
|
||||
Reference in New Issue
Block a user