Skip to content

Commit 5e81fd7

Browse files
committed
fix(release): mark prerelease, fix regex issue, remove traces of windows build
1 parent 16b98f9 commit 5e81fd7

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

.github/workflows/build-release.yml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
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:
@@ -86,9 +77,9 @@ jobs:
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 }}

0 commit comments

Comments
 (0)