Skip to content

Commit e2f9478

Browse files
author
psadi
committed
ci: ensure release handles multiple arch packages pkgforge-dev#2
1 parent 9bc8bff commit e2f9478

File tree

1 file changed

+3
-21
lines changed

1 file changed

+3
-21
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -45,30 +45,12 @@ jobs:
4545
retention-days: 7
4646
path: /tmp/ghostty-build/Ghostty-*-${{ matrix.arch }}.AppImage*
4747

48-
outputs:
49-
arch: ${{ matrix.arch }}
50-
51-
release_appimage:
52-
permissions:
53-
actions: read
54-
security-events: write
55-
contents: write
56-
name: Upload binaries to release (${{ matrix.arch }})
57-
runs-on: ubuntu-latest
58-
if: ${{ github.event_name == 'release' }}
59-
needs: "build_appimage"
60-
strategy:
61-
matrix:
62-
arch: [aarch64, x86_64]
63-
steps:
64-
- uses: actions/download-artifact@v4
65-
with:
66-
name: ghostty-appimage-${{ needs.build_appimage.outputs.arch }}
67-
6848
- name: Upload binaries to release
49+
if: ${{ github.event_name == 'release' }}
6950
uses: svenstaro/upload-release-action@v2
7051
with:
7152
repo_token: ${{ secrets.GITHUB_TOKEN }}
72-
file: ./Ghostty-*-${{ matrix.arch }}.AppImage*
53+
file: /tmp/ghostty-build/Ghostty-*-${{ matrix.arch }}.AppImage*
7354
tag: ${{ github.ref }}
55+
overwrite: true
7456
file_glob: true

0 commit comments

Comments
 (0)