@@ -9,8 +9,21 @@ permissions:
99 contents : write
1010
1111jobs :
12- release :
12+ build_and_package :
1313 runs-on : ubuntu-latest
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ include :
18+ - id : linux
19+ just_target : package-linux
20+ - id : windows
21+ just_target : package-windows
22+ - id : wasm
23+ just_target : package-wasm
24+ - id : server
25+ just_target : package-server
26+
1427 steps :
1528 - name : Checkout code
1629 uses : actions/checkout@v4
@@ -36,17 +49,26 @@ jobs:
3649 - name : Install just
3750 uses : extractions/setup-just@v3
3851
39- - name : Build and Package Linux
40- run : just package-linux
41-
42- - name : Build and Package Windows
43- run : just package-windows
52+ - name : Build and Package
53+ run : just ${{ matrix.just_target }}
4454
45- - name : Build and Package WASM
46- run : just package-wasm
55+ - name : Upload release artifacts
56+ uses : actions/upload-artifact@v4
57+ with :
58+ name : alpha-${{ matrix.id }}
59+ path : releases/unhaunter-*
60+ if-no-files-found : error
4761
48- - name : Build and Package Server
49- run : just package-server
62+ publish :
63+ runs-on : ubuntu-latest
64+ needs : [build_and_package]
65+ steps :
66+ - name : Download all artifacts
67+ uses : actions/download-artifact@v4
68+ with :
69+ pattern : alpha-*
70+ merge-multiple : true
71+ path : releases
5072
5173 - name : Overwrite alpha-latest rolling release
5274 env :
0 commit comments