From 36b36ee8010c35cb3fe0a2c957b61d857018403c Mon Sep 17 00:00:00 2001 From: Valeri Date: Sat, 28 Oct 2023 15:49:05 +0300 Subject: [PATCH] release.yml: rename flatpaks --- .github/workflows/release.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a7e214e..b81bb7c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,14 +22,17 @@ jobs: workflow: Flatpak path: artifacts - - name: List artifacts to be published + - name: Rename flatpaks appropriately shell: bash run: | - find artifacts/ + mkdir upload + find artifacts -mindepth 1 -type d -exec sh -c 'cp "$0"/nxdumpclient.flatpak upload/$(basename "$0").flatpak' {} \; + echo "Files to upload:" + find upload - name: Upload artifacts to GitHub release # TODO: remove, uncomment the job-wide one if: startsWith(github.ref, 'refs/tags/') uses: softprops/action-gh-release@v1 with: - files: artifacts/* + files: upload/*