Skip to content

Commit 1a84449

Browse files
author
psadi
committed
ci: ensure release handles multiple arch packages #2
1 parent 56cbf5e commit 1a84449

File tree

1 file changed

+3
-19
lines changed

1 file changed

+3
-19
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -43,30 +43,14 @@ jobs:
4343
with:
4444
name: ghostty-appimage-${{ matrix.arch }}
4545
retention-days: 7
46-
path: /tmp/ghostty-build/Ghostty-*.AppImage*
47-
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 current release"
57-
runs-on: ubuntu-latest
58-
if: ${{ github.event_name == 'release' }}
59-
needs: "build_appimage"
60-
steps:
61-
- uses: actions/download-artifact@v4
62-
with:
63-
name: ghostty-appimage-${{ needs.build_appimage.outputs.arch }}
46+
path: /tmp/ghostty-build/Ghostty-*-${{ matrix.arch }}.AppImage*
6447

6548
- name: Upload binaries to release
49+
if: ${{ github.event_name == 'release' }}
6650
uses: svenstaro/upload-release-action@v2
6751
with:
6852
repo_token: ${{ secrets.GITHUB_TOKEN }}
69-
file: ./Ghostty-*.AppImage*
53+
file: /tmp/ghostty-build/Ghostty-*-${{ matrix.arch }}.AppImage*
7054
tag: ${{ github.ref }}
7155
overwrite: true
7256
file_glob: true

0 commit comments

Comments
 (0)