File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -29,26 +29,28 @@ jobs:
2929 run : |
3030 cd compiler
3131 bun install
32+ shell : bash
3233
3334 - name : Build zsc binary
3435 run : |
3536 cd compiler
36- mkdir -p dist
37+ mkdir dist
3738 bun build zsc.js --compile --outfile dist/zsc
38-
39-
39+ shell : bash
4040
4141 - name : Zip artifact
4242 run : |
4343 cd compiler/dist
4444 if [ "${{ matrix.os }}" = "windows-latest" ]; then
45- powershell Compress-Archive zsc.exe zsc-${{ matrix.os }}.zip
45+ zip zsc-windows-latest.zip zsc.exe
46+ elif [ "${{ matrix.os }}" = "macos-latest" ]; then
47+ zip zsc-macos-latest.zip zsc
4648 else
47- zip zsc-${{ matrix.os }} .zip zsc
49+ zip zsc-ubuntu-latest .zip zsc
4850 fi
4951 shell : bash
5052
5153 - name : Upload Release Asset
5254 uses : softprops/action-gh-release@v1
5355 with :
54- files : compiler/dist/zsc-${{ matrix.os }} .zip
56+ files : compiler/dist/* .zip
You can’t perform that action at this time.
0 commit comments