Skip to content

Commit 9ebf3c3

Browse files
committed
ci: update build workflow
1 parent 00535b0 commit 9ebf3c3

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/build-and-release.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868
dist/*.msi
6969
dist/*.AppImage
7070
dist/*.snap
71+
!dist/*-sponsored.*
7172
!dist/*.yml
7273
!dist/*.blockmap
7374
if-no-files-found: warn
@@ -145,9 +146,10 @@ jobs:
145146
- name: Checkout code
146147
uses: actions/checkout@v4
147148

148-
- name: Download all artifacts
149+
- name: Download artifacts from "build" job
149150
uses: actions/download-artifact@v4
150151
with:
152+
pattern: masscode-*
151153
path: artifacts
152154

153155
- name: Display structure of downloaded files
@@ -163,7 +165,12 @@ jobs:
163165
uses: softprops/action-gh-release@v2
164166
with:
165167
files: |
166-
artifacts/masscode-*/*
168+
artifacts/masscode-*/*.dmg
169+
artifacts/masscode-*/*.pkg
170+
artifacts/masscode-*/*.exe
171+
artifacts/masscode-*/*.msi
172+
artifacts/masscode-*/*.AppImage
173+
artifacts/masscode-*/*.snap
167174
tag_name: ${{ github.ref_name || inputs.tag }}
168175
draft: true
169176
generate_release_notes: true

0 commit comments

Comments
 (0)