From 29c4927b25ef3d08d3212452b0a45b72894a00ab Mon Sep 17 00:00:00 2001 From: Neshura Date: Fri, 17 Nov 2023 18:13:35 +0100 Subject: [PATCH] Release Action Adjustments + Debugging --- .forgejo/workflows/build+release.yml | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/build+release.yml b/.forgejo/workflows/build+release.yml index 7abeca4..e37e1e4 100644 --- a/.forgejo/workflows/build+release.yml +++ b/.forgejo/workflows/build+release.yml @@ -21,7 +21,7 @@ jobs: echo "Expected Version is: '${{ github.ref_name }}' actual Version is: '$VERSION'" end - build: + build-linux: needs: test if: success() runs-on: docker @@ -62,21 +62,39 @@ jobs: mv -v src-tauri/target/release/bundle/deb/*.deb artifacts/comicinfo-editor-v2-${{ github.ref_name }}-amd64.deb mv -v src-tauri/target/release/bundle/appimage/*.AppImage artifacts/comicinfo-editor-v2-${{ github.ref_name }}-amd64.AppImage - - name: Uploading Build Artifact + name: Uploading Linux Binary Artifact uses: actions/upload-artifact@v3 with: - name: comicinfo-editor-v2-linux-amd64 - path: artifacts/ + name: linux-amd64-binary + path: artifacts/comicinfo-editor-v2-linux-amd64 + if-no-files-found: error + - + name: Uploading Linux Debian Artifact + uses: actions/upload-artifact@v3 + with: + name: linux-amd64-debian + path: artifacts/comicinfo-editor-v2-${{ github.ref_name }}-amd64.deb + if-no-files-found: error + - + name: Uploading Linux AppImage Artifact + uses: actions/upload-artifact@v3 + with: + name: linux-amd64-appimage + path: artifacts/comicinfo-editor-v2-${{ github.ref_name }}-amd64.AppImage if-no-files-found: error upload-release: - needs: build + needs: [build-linux] if: success() runs-on: docker steps: - name: Downloading All Build Artifacts uses: actions/download-artifact@v3 + - + name: Debug Upload + run: | + ls -lap ./ - name: Rearrange Artifact Paths run: |