Skip to content

Commit 37bacd9

Browse files
committed
Keep Bun cross-compile cache on the runner volume
1 parent 7a9d39c commit 37bacd9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ jobs:
7070
APPLE_ID: ${{ secrets.APPLE_ID }}
7171
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
7272
TAURI_UPDATER_ARGS: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY != '' && '--config src-tauri/tauri.updater.conf.json' || '' }}
73+
# Keep Bun's package and cross-compiled-runtime cache on the same volume as the checkout.
74+
# GitHub's Windows workspace is on D:, while Bun otherwise defaults to C:\Users\runneradmin\.bun;
75+
# cross-volume moves fail when `bun build --compile --target=bun-windows-arm64` populates it.
76+
BUN_INSTALL_CACHE_DIR: ${{ runner.temp }}/bun-cache
7377
steps:
7478
- uses: actions/checkout@v6
7579
- uses: oven-sh/setup-bun@v2

0 commit comments

Comments
 (0)