From f5fa18ec60be51200ef01c60b9835c5c01b71eb6 Mon Sep 17 00:00:00 2001 From: koalasat Date: Sat, 22 Mar 2025 22:33:37 +0100 Subject: [PATCH] Bump to v0.7.5-alpha fix files test 4 --- .github/workflows/desktop-build.yml | 30 +++++++++++++++++++++++------ .github/workflows/release.yml | 15 ++++----------- 2 files changed, 28 insertions(+), 17 deletions(-) diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml index 9191ca14..b63ede44 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -70,13 +70,31 @@ jobs: - name: Print semver run: echo The semver is ${{ github.event.inputs.semver }} + - name: Install zip + run: sudo apt-get install -y zip + + - name: Create macOS ZIP file + run: | + cd desktopApp/release-builds + zip -r Robosats-darwin-x64.zip Robosats-darwin-x64 + + - name: Create Windows ZIP file + run: | + cd desktopApp/release-builds + zip -r Robosats-win32-ia32.zip Robosats-win32-ia32 + + - name: Create Linux ZIP file + run: | + cd desktopApp/release-builds + zip -r Robosats-linux-x64.zip Robosats-linux-x64 + - name: Upload macOS Build Artifact if: inputs.semver != '' uses: actions/upload-artifact@v4 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - path: desktopApp/release-builds/Robosats-darwin-x64 + path: desktopApp/release-builds/Robosats-darwin-x64.zip name: robosats-desktop-${{ inputs.semver }}-mac-darwin-x64.zip - name: Upload Windows Build Artifact @@ -85,7 +103,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - path: desktopApp/release-builds/Robosats-win32-ia32 + path: desktopApp/release-builds/Robosats-win32-ia32.zip name: robosats-desktop-${{ inputs.semver }}-win32-ia32.zip - name: Upload Linux Build Artifact @@ -94,7 +112,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - path: desktopApp/release-builds/Robosats-linux-x64 + path: desktopApp/release-builds/Robosats-linux-x64.zip name: robosats-desktop-${{ inputs.semver }}-linux-x64.zip - name: Upload macOS Build Artifact @@ -104,7 +122,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - path: desktopApp/release-builds/Robosats-darwin-x64 + path: desktopApp/release-builds/Robosats-darwin-x64.zip name: robosats-desktop-${{ steps.commit.outputs.short }}-mac-darwin-x64.zip - name: Upload Windows Build Artifact @@ -114,7 +132,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - path: desktopApp/release-builds/Robosats-win32-ia32 + path: desktopApp/release-builds/Robosats-win32-ia32.zip name: robosats-desktop-${{ steps.commit.outputs.short }}-win32-ia32.zip - name: Upload Linux Build Artifact @@ -124,5 +142,5 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - path: desktopApp/release-builds/Robosats-linux-x64 + path: desktopApp/release-builds/Robosats-linux-x64.zip name: robosats-desktop-${{ steps.commit.outputs.short }}-linux-x64.zip diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ab314edd..60486d3f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -173,13 +173,6 @@ jobs: - name: List macOS build directory run: ls -la - - name: 'Verify macOS Build Artifact' - run: | - if [ ! -f "robosats-desktop-${{ needs.check-versions.outputs.semver }}-mac-darwin-x64.zip" ]; then - echo "Error: macOS build artifact not found!" - exit 1 - fi - - name: 'Upload macOS Build Artifact' id: upload-release-mac-zip-asset uses: actions/upload-release-asset@v1 @@ -187,14 +180,14 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create-release.outputs.upload_url }} - asset_path: robosats-desktop-${{ needs.check-versions.outputs.semver }}-mac-darwin-x64.zip + asset_path: Robosats-darwin-x64.zip asset_name: robosats-desktop-${{ needs.check-versions.outputs.semver }}-mac-darwin-x64.zip asset_content_type: application/zip - name: 'Download linux Build Artifact' uses: actions/download-artifact@v4 with: - path: desktopApp/release-builds/Robosats-linux-x64 + path: . name: robosats-desktop-${{ needs.check-versions.outputs.semver }}-linux-x64.zip - name: 'Upload linux Build Artifact' @@ -204,7 +197,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create-release.outputs.upload_url }} - asset_path: desktopApp/release-builds/Robosats-linux-x64 + asset_path: Robosats-linux-x64.zip asset_name: robosats-desktop-${{ needs.check-versions.outputs.semver }}-linux-x64.zip asset_content_type: application/zip @@ -221,6 +214,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create-release.outputs.upload_url }} - asset_path: ./robosats-desktop-${{ needs.check-versions.outputs.semver }}-win32-ia32.zip + asset_path: Robosats-win32-ia32.zip asset_name: robosats-desktop-${{ needs.check-versions.outputs.semver }}-win32-ia32.zip asset_content_type: application/zip \ No newline at end of file