mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-13 19:06:26 +00:00
Merge pull request #1454 from RoboSats/fix-desktop-actin
Fix Desktop action
This commit is contained in:
commit
3b41397963
22
.github/workflows/desktop-build.yml
vendored
22
.github/workflows/desktop-build.yml
vendored
@ -31,12 +31,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd desktopApp
|
cd desktopApp
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
- name: Install zip utility
|
- name: Install zip utility
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
sudo apt-get update
|
||||||
apt-get install -y zip
|
sudo apt-get install -y zip
|
||||||
|
|
||||||
- name: Build for macOS
|
- name: Build for macOS
|
||||||
run: |
|
run: |
|
||||||
cd desktopApp
|
cd desktopApp
|
||||||
@ -46,26 +46,26 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd desktopApp
|
cd desktopApp
|
||||||
npm run package-win
|
npm run package-win
|
||||||
|
|
||||||
- name: Build for Linux
|
- name: Build for Linux
|
||||||
run: |
|
run: |
|
||||||
cd desktopApp
|
cd desktopApp
|
||||||
npm run package-linux
|
npm run package-linux
|
||||||
|
|
||||||
- name: Create ZIP for macOS Build
|
- name: Create ZIP for macOS Build
|
||||||
run: |
|
run: |
|
||||||
cd desktopApp/release-builds/
|
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
|
- name: Create ZIP for Windows Build
|
||||||
run: |
|
run: |
|
||||||
cd desktopApp/release-builds/
|
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
|
- name: Create ZIP for Linux Build
|
||||||
run: |
|
run: |
|
||||||
cd desktopApp/release-builds/
|
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'
|
- name: 'Get Commit Hash'
|
||||||
id: commit
|
id: commit
|
||||||
@ -77,14 +77,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: robosats-desktop-${{ inputs.semver }}-mac.zip
|
name: robosats-desktop-${{ inputs.semver }}-mac.zip
|
||||||
path: desktopApp/release-builds/desktopApp-mac.zip
|
path: desktopApp/release-builds/desktopApp-mac.zip
|
||||||
|
|
||||||
- name: 'Upload linux-build Release Artifact (for Release)'
|
- name: 'Upload linux-build Release Artifact (for Release)'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
if: inputs.semver != '' # only if this workflow is called from a push to tag (a Release)
|
if: inputs.semver != '' # only if this workflow is called from a push to tag (a Release)
|
||||||
with:
|
with:
|
||||||
name: robosats-desktop-${{ inputs.semver }}-linux.zip
|
name: robosats-desktop-${{ inputs.semver }}-linux.zip
|
||||||
path: desktopApp/release-builds/desktopApp-linux.zip
|
path: desktopApp/release-builds/desktopApp-linux.zip
|
||||||
|
|
||||||
- name: 'Upload win-build Release Artifact (for Release)'
|
- name: 'Upload win-build Release Artifact (for Release)'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
if: inputs.semver != '' # only if this workflow is called from a push to tag (a Release)
|
if: inputs.semver != '' # only if this workflow is called from a push to tag (a Release)
|
||||||
|
Loading…
Reference in New Issue
Block a user