Skip to content

Commit b8f96ce

Browse files
committed
feat: add artifact upload step for built packages in CI workflow
1 parent 7df1624 commit b8f96ce

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/package.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,19 @@ jobs:
144144
--depends squashfs-tools \
145145
-p "$PACKAGE_DIR/appimage-thumbnailer-${VERSION}-1.${{ matrix.fpm_arch_rpm }}.rpm" \
146146
-C "$DESTDIR" usr
147+
- name: Upload build artifacts
148+
uses: actions/upload-artifact@v4
149+
with:
150+
name: packages-${{ matrix.arch }}
151+
path: |
152+
packages/appimage-thumbnailer_${{ steps.meta.outputs.version }}_${{ matrix.fpm_arch_deb }}.deb
153+
packages/appimage-thumbnailer-${{ steps.meta.outputs.version }}-1.${{ matrix.fpm_arch_rpm }}.rpm
154+
147155
- name: Upload release packages
148156
if: startsWith(github.ref, 'refs/tags/')
149157
uses: softprops/action-gh-release@v2
150158
with:
159+
fail_on_unmatched_files: true
151160
files: |
152161
packages/appimage-thumbnailer_${{ steps.meta.outputs.version }}_${{ matrix.fpm_arch_deb }}.deb
153162
packages/appimage-thumbnailer-${{ steps.meta.outputs.version }}-1.${{ matrix.fpm_arch_rpm }}.rpm

0 commit comments

Comments
 (0)