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 22
22
runner : ubuntu-latest
23
23
target : x86_64-unknown-linux-gnu
24
24
output : piosk-linux-x64
25
- # Linux ARM64 (Raspberry Pi)
25
+ # Linux ARM64
26
26
- os : linux-arm64
27
27
runner : ubuntu-latest
28
28
target : aarch64-unknown-linux-gnu
@@ -49,23 +49,14 @@ jobs:
49
49
--output ${{ matrix.output }} \
50
50
index.ts
51
51
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 }}
61
54
62
55
- name : Upload binary as artifact
63
56
uses : actions/upload-artifact@v4
64
57
with :
65
58
name : ${{ matrix.output }}
66
- path : |
67
- ${{ matrix.output }}.tar.gz
68
- ${{ matrix.output }}.zip
59
+ path : ${{ matrix.output }}.tar.gz
69
60
if-no-files-found : ignore
70
61
71
62
release :
86
77
- name : Create Release
87
78
uses : softprops/action-gh-release@v2
88
79
with :
89
- files : ./artifacts/*/*.{ tar.gz,zip}
80
+ files : ./artifacts/*/*.tar.gz
90
81
draft : false
91
- prerelease : false
82
+ prerelease : true
92
83
generate_release_notes : true
93
84
env :
94
85
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments