File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 4747 - name : Install dependencies
4848 run : bun install
4949
50+ - name : Workaround for Bun cache issue on Windows
51+ if : runner.os == 'Windows'
52+ run : |
53+ # Create temporary project on C:\ to initialize Bun cache for target platform
54+ # This works around https://github.com/oven-sh/bun/issues/11198
55+ mkdir C:\temp-bun-cache-init
56+ cd C:\temp-bun-cache-init
57+ echo 'console.log("cache init");' > index.js
58+ bun build --compile --target=${{ matrix.bun-target }}-baseline --outfile=cache-init${{ matrix.executable-ext }} ./index.js
59+ cd ${{ github.workspace }}
60+ Remove-Item -Recurse -Force C:\temp-bun-cache-init
61+
5062 - name : Build executable
5163 run : bun build --compile --target=${{ matrix.bun-target }}-baseline --outfile=wallet-generator${{ matrix.executable-ext }} ./wallet_generator.ts
5264
You can’t perform that action at this time.
0 commit comments