Skip to content

Commit

Permalink
ci: improve release assets upload process
Browse files Browse the repository at this point in the history
- Add explicit artifacts download path
- Add debug step to list downloaded files
- Fix glob patterns for deb and pkg.tar.zst files
  • Loading branch information
aljen committed Dec 1, 2024
1 parent 70c6a9f commit 3559a16
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,21 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/download-artifact@v4
- name: Download artifacts
uses: actions/download-artifact@v4
with:
path: artifacts

- name: List files
run: |
ls -R artifacts/
echo "Files to be uploaded:"
find artifacts -type f -name "*.deb" -o -name "*.pkg.tar.zst"
- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: deb-*/*.deb pkg-*/*.pkg.tar.zst
files: |
artifacts/**/*.deb
artifacts/**/*.pkg.tar.zst
generate_release_notes: true

0 comments on commit 3559a16

Please sign in to comment.