File tree Expand file tree Collapse file tree 1 file changed +6
-15
lines changed
Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Original file line number Diff line number Diff line change 2222 runner : ubuntu-latest
2323 target : x86_64-unknown-linux-gnu
2424 output : piosk-linux-x64
25- # Linux ARM64 (Raspberry Pi)
25+ # Linux ARM64
2626 - os : linux-arm64
2727 runner : ubuntu-latest
2828 target : aarch64-unknown-linux-gnu
@@ -49,23 +49,14 @@ jobs:
4949 --output ${{ matrix.output }} \
5050 index.ts
5151
52- - name : Archive binary (Unix)
53- if : runner.os != 'Windows'
54- run : |
55- tar -czf ${{ matrix.output }}.tar.gz ${{ matrix.output }}
56-
57- - name : Archive binary (Windows)
58- if : runner.os == 'Windows'
59- run : |
60- 7z a ${{ matrix.output }}.zip ${{ matrix.output }}
52+ - name : Archive binary
53+ run : tar -czf ${{ matrix.output }}.tar.gz ${{ matrix.output }}
6154
6255 - name : Upload binary as artifact
6356 uses : actions/upload-artifact@v4
6457 with :
6558 name : ${{ matrix.output }}
66- path : |
67- ${{ matrix.output }}.tar.gz
68- ${{ matrix.output }}.zip
59+ path : ${{ matrix.output }}.tar.gz
6960 if-no-files-found : ignore
7061
7162 release :
8677 - name : Create Release
8778 uses : softprops/action-gh-release@v2
8879 with :
89- files : ./artifacts/*/*.{ tar.gz,zip}
80+ files : ./artifacts/*/*.tar.gz
9081 draft : false
91- prerelease : false
82+ prerelease : true
9283 generate_release_notes : true
9384 env :
9485 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments