summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2026-03-11 23:24:38 -0400
committerDax Raad <[email protected]>2026-03-11 23:24:38 -0400
commitb1ef501207aa9d2c7f7ee70cbd1d9fde360be219 (patch)
tree67a74164219fd8adff77fdd549934424333e5bd2 /.github
parent9fb12a906eb8b1ef5f346623d11bd86689f926b1 (diff)
parentfafbc29316e7240b348db9e91e7a8e97cd803aef (diff)
downloadopencode-b1ef501207aa9d2c7f7ee70cbd1d9fde360be219.tar.gz
opencode-b1ef501207aa9d2c7f7ee70cbd1d9fde360be219.zip
Merge remote-tracking branch 'origin/dev' into dev
Diffstat (limited to '.github')
-rw-r--r--.github/actions/setup-bun/action.yml21
-rw-r--r--.github/workflows/publish.yml7
2 files changed, 20 insertions, 8 deletions
diff --git a/.github/actions/setup-bun/action.yml b/.github/actions/setup-bun/action.yml
index 3f06da519..f53f20fcd 100644
--- a/.github/actions/setup-bun/action.yml
+++ b/.github/actions/setup-bun/action.yml
@@ -3,14 +3,6 @@ description: "Setup Bun with caching and install dependencies"
runs:
using: "composite"
steps:
- - name: Cache Bun dependencies
- uses: actions/cache@v4
- with:
- path: ~/.bun/install/cache
- key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
- restore-keys: |
- ${{ runner.os }}-bun-
-
- name: Get baseline download URL
id: bun-url
shell: bash
@@ -31,6 +23,19 @@ runs:
bun-version-file: ${{ !steps.bun-url.outputs.url && 'package.json' || '' }}
bun-download-url: ${{ steps.bun-url.outputs.url }}
+ - name: Get cache directory
+ id: cache
+ shell: bash
+ run: echo "dir=$(bun pm cache)" >> "$GITHUB_OUTPUT"
+
+ - name: Cache Bun dependencies
+ uses: actions/cache@v4
+ with:
+ path: ${{ steps.cache.outputs.dir }}
+ key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
+ restore-keys: |
+ ${{ runner.os }}-bun-
+
- name: Install setuptools for distutils compatibility
run: python3 -m pip install setuptools || pip install setuptools || true
shell: bash
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 079e6d6f0..b425b32a5 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -115,6 +115,9 @@ jobs:
target: x86_64-apple-darwin
- host: macos-latest
target: aarch64-apple-darwin
+ # github-hosted: blacksmith lacks ARM64 MSVC cross-compilation toolchain
+ - host: windows-2025
+ target: aarch64-pc-windows-msvc
- host: blacksmith-4vcpu-windows-2025
target: x86_64-pc-windows-msvc
- host: blacksmith-4vcpu-ubuntu-2404
@@ -258,6 +261,10 @@ jobs:
- host: macos-latest
target: aarch64-apple-darwin
platform_flag: --mac --arm64
+ # github-hosted: blacksmith lacks ARM64 MSVC cross-compilation toolchain
+ - host: "windows-2025"
+ target: aarch64-pc-windows-msvc
+ platform_flag: --win --arm64
- host: "blacksmith-4vcpu-windows-2025"
target: x86_64-pc-windows-msvc
platform_flag: --win