From 788b7de130402e8d0cc6ea61291fbdd7d8ec3a03 Mon Sep 17 00:00:00 2001 From: koalasat Date: Fri, 18 Oct 2024 18:00:41 +0200 Subject: [PATCH] Fix desktop release --- .github/workflows/desktop-build.yml | 36 +++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml index 366bff94f..319ee07d5 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -67,9 +67,43 @@ jobs: id: commit uses: pr-mpt/actions-commit-hash@v3 + - name: Print semver + run: echo The semver is ${{ github.event.inputs.semver }} + + - name: Upload macOS Build Artifact + id: upload-release-mac-zip-asset + uses: actions/upload-artifact@v4 + if: inputs.semver != '' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + path: desktopApp/release-builds/Robosats-darwin-x64 + name: robosats-desktop-${{ inputs.semver }}-mac-darwin-x64 + + - name: Upload Windows Build Artifact + id: upload-release-win-zip-asset + uses: actions/upload-artifact@v4 + if: inputs.semver != '' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + path: desktopApp/release-builds/Robosats-win32-ia32 + name: robosats-desktop-${{ inputs.semver }}-win32-ia32 + + - name: Upload Linux Build Artifact + id: upload-release-linux-zip-asset + uses: actions/upload-artifact@v4 + if: inputs.semver != '' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + path: desktopApp/release-builds/Robosats-linux-x64 + name: robosats-desktop-${{ inputs.semver }}-linux-x64 + - name: Upload macOS Build Artifact id: upload-release-mac-zip-asset uses: actions/upload-artifact@v4 + if: inputs.semver == '' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -79,6 +113,7 @@ jobs: - name: Upload Windows Build Artifact id: upload-release-win-zip-asset uses: actions/upload-artifact@v4 + if: inputs.semver == '' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -88,6 +123,7 @@ jobs: - name: Upload Linux Build Artifact id: upload-release-linux-zip-asset uses: actions/upload-artifact@v4 + if: inputs.semver == '' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: