diff options
| author | Brendan Allan <[email protected]> | 2026-04-24 12:50:34 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-04-24 04:50:34 +0000 |
| commit | 3bfe6a1ef6cf41bc7f05339d63ab8d6032c6e8e1 (patch) | |
| tree | 17db59e9a40c29344a03abb494119db179243486 /.github/workflows | |
| parent | 5c5069b6227ce6c4cbc1b6daca65da69daf43f84 (diff) | |
| download | opencode-3bfe6a1ef6cf41bc7f05339d63ab8d6032c6e8e1.tar.gz opencode-3bfe6a1ef6cf41bc7f05339d63ab8d6032c6e8e1.zip | |
ci: add platform-specific bun install flags (#23822)
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/publish.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index af008f6b1..6cb6af0a8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -402,12 +402,14 @@ jobs: fail-fast: false matrix: settings: - - host: macos-latest + - host: macos-26-intel target: x86_64-apple-darwin platform_flag: --mac --x64 - - host: macos-latest + bun_install_flags: --os=darwin --cpu=x64 + - host: macos-26 target: aarch64-apple-darwin platform_flag: --mac --arm64 + bun_install_flags: --os=darwin --cpu=arm64 # github-hosted: blacksmith lacks ARM64 MSVC cross-compilation toolchain - host: "windows-2025" target: aarch64-pc-windows-msvc @@ -437,6 +439,8 @@ jobs: run: echo "${{ secrets.APPLE_API_KEY_PATH }}" > $RUNNER_TEMP/apple-api-key.p8 - uses: ./.github/actions/setup-bun + with: + install-flags: ${{ matrix.settings.bun_install_flags }} - name: Azure login if: runner.os == 'Windows' |
