From 3559a16e44611745c7fec81790ad4f69888b567e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Artur=20Wyszy=C5=84ski?= Date: Sun, 1 Dec 2024 21:40:54 +0100 Subject: [PATCH] ci: improve release assets upload process - Add explicit artifacts download path - Add debug step to list downloaded files - Fix glob patterns for deb and pkg.tar.zst files --- .github/workflows/release.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9df926a..05d969f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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