mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-13 19:06:26 +00:00
Fix Desktop action
This commit is contained in:
parent
3cd1bf93da
commit
d336d68a6c
16
.github/workflows/desktop-build.yml
vendored
16
.github/workflows/desktop-build.yml
vendored
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user