Skip to content

Commit 36fe2b2

Browse files
author
psadi
committed
ci: ensure release handles multiple arch packages
1 parent 56cbf5e commit 36fe2b2

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
name: ghostty-appimage-${{ matrix.arch }}
4545
retention-days: 7
46-
path: /tmp/ghostty-build/Ghostty-*.AppImage*
46+
path: /tmp/ghostty-build/Ghostty-*-${{ matrix.arch }}.AppImage*
4747

4848
outputs:
4949
arch: ${{ matrix.arch }}
@@ -53,10 +53,13 @@ jobs:
5353
actions: read
5454
security-events: write
5555
contents: write
56-
name: "Upload binaries to current release"
56+
name: Upload binaries to release (${{ matrix.arch }})
5757
runs-on: ubuntu-latest
5858
if: ${{ github.event_name == 'release' }}
5959
needs: "build_appimage"
60+
strategy:
61+
matrix:
62+
arch: [aarch64, x86_64]
6063
steps:
6164
- uses: actions/download-artifact@v4
6265
with:
@@ -66,7 +69,6 @@ jobs:
6669
uses: svenstaro/upload-release-action@v2
6770
with:
6871
repo_token: ${{ secrets.GITHUB_TOKEN }}
69-
file: ./Ghostty-*.AppImage*
72+
file: ./Ghostty-*-${{ matrix.arch }}.AppImage*
7073
tag: ${{ github.ref }}
71-
overwrite: true
7274
file_glob: true

0 commit comments

Comments
 (0)