File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77permissions :
88 contents : write
9-
9+
1010jobs :
1111 build :
1212 strategy :
@@ -29,21 +29,33 @@ jobs:
2929 outfile : term-invader-macos-silicon
3030
3131 runs-on : ${{ matrix.os }}
32-
3332 steps :
3433 - uses : actions/checkout@v4
3534 - uses : oven-sh/setup-bun@v2
36-
3735 - name : Install dependencies
3836 run : bun install
39-
4037 - name : Build Binary
4138 run : bun build ./game.js --compile --target=${{ matrix.target }} --outfile=${{ matrix.outfile }}
39+ - name : Upload Artifact
40+ uses : actions/upload-artifact@v4
41+ with :
42+ name : ${{ matrix.outfile }}
43+ path : ${{ matrix.outfile }}
44+
45+ release :
46+ needs : build
47+ runs-on : ubuntu-latest
48+ steps :
49+ - name : Download all artifacts
50+ uses : actions/download-artifact@v4
51+ with :
52+ path : ./artifacts
53+ merge-multiple : true
4254
43- - name : Release
55+ - name : Create Release
4456 uses : softprops/action-gh-release@v2
4557 with :
46- files : ${{ matrix.outfile }}
58+ files : ./artifacts/*
4759 body : |
4860 ## TERM-INVADER v${{ github.ref_name }}
4961
You can’t perform that action at this time.
0 commit comments