From d336d68a6c8cd435a8d1c29e7eaaada9ff11bc20 Mon Sep 17 00:00:00 2001 From: koalasat Date: Mon, 9 Sep 2024 09:47:13 +0200 Subject: [PATCH 1/2] Fix Desktop action --- .github/workflows/desktop-build.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml index 52c44787..6cae3ab6 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -31,12 +31,12 @@ jobs: run: | cd desktopApp npm install - + - name: Install zip utility run: | - apt-get update - apt-get install -y zip - + sudo apt-get update + sudo apt-get install -y zip + - name: Build for macOS run: | cd desktopApp @@ -46,12 +46,12 @@ jobs: run: | cd desktopApp npm run package-win - + - name: Build for Linux run: | cd desktopApp npm run package-linux - + - name: Create ZIP for macOS Build run: | cd desktopApp/release-builds/ @@ -77,14 +77,14 @@ jobs: with: name: robosats-desktop-${{ inputs.semver }}-mac.zip path: desktopApp/release-builds/desktopApp-mac.zip - + - name: 'Upload linux-build Release Artifact (for Release)' uses: actions/upload-artifact@v4 if: inputs.semver != '' # only if this workflow is called from a push to tag (a Release) with: name: robosats-desktop-${{ inputs.semver }}-linux.zip path: desktopApp/release-builds/desktopApp-linux.zip - + - name: 'Upload win-build Release Artifact (for Release)' uses: actions/upload-artifact@v4 if: inputs.semver != '' # only if this workflow is called from a push to tag (a Release) From e5939caf01a7762482b8324da3278463de33b292 Mon Sep 17 00:00:00 2001 From: koalasat Date: Mon, 9 Sep 2024 09:49:35 +0200 Subject: [PATCH 2/2] Fix Desktop action 2 --- .github/workflows/desktop-build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml index 6cae3ab6..a864e732 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -55,17 +55,17 @@ jobs: - name: Create ZIP for macOS Build run: | cd desktopApp/release-builds/ - zip -r /desktopApp-mac.zip ./Robosats-darwin-x64/* + sudo zip -r /desktopApp-mac.zip ./Robosats-darwin-x64/* - name: Create ZIP for Windows Build run: | cd desktopApp/release-builds/ - zip -r /desktopApp-win.zip ./Robosats-win32-ia32/* + sudo zip -r /desktopApp-win.zip ./Robosats-win32-ia32/* - name: Create ZIP for Linux Build run: | cd desktopApp/release-builds/ - zip -r /desktopApp-linux.zip ./Robosats-linux-x64/* + sudo zip -r /desktopApp-linux.zip ./Robosats-linux-x64/* - name: 'Get Commit Hash' id: commit