Fix desktop artifact upload

This commit is contained in:
Reckless_Satoshi 2024-09-10 01:51:44 +01:00
parent e199bbab38
commit 9054b87dab
No known key found for this signature in database
GPG Key ID: 9C4585B561315571
2 changed files with 18 additions and 42 deletions

View File

@ -38,11 +38,6 @@ jobs:
cd desktopApp cd desktopApp
npm install npm install
- name: Install zip utility
run: |
sudo apt-get update
sudo apt-get install -y zip
- name: Build for macOS - name: Build for macOS
run: | run: |
cd desktopApp cd desktopApp
@ -58,21 +53,6 @@ jobs:
cd desktopApp cd desktopApp
npm run package-linux npm run package-linux
- name: Create ZIP for macOS Build
run: |
cd desktopApp/release-builds/
sudo zip -r /desktopApp-mac.zip ./Robosats-darwin-x64/*
- name: Create ZIP for Windows Build
run: |
cd desktopApp/release-builds/
sudo zip -r /desktopApp-win.zip ./Robosats-win32-ia32/*
- name: Create ZIP for Linux Build
run: |
cd desktopApp/release-builds/
sudo zip -r /desktopApp-linux.zip ./Robosats-linux-x64/*
- name: 'Get Commit Hash' - name: 'Get Commit Hash'
id: commit id: commit
uses: pr-mpt/actions-commit-hash@v3 uses: pr-mpt/actions-commit-hash@v3
@ -81,8 +61,8 @@ jobs:
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 }}-mac.zip name: robosats-desktop-${{ inputs.semver }}-mac-darwin-x64.zip
path: desktopApp/release-builds/desktopApp-mac.zip path: desktopApp/release-builds/Robosats-darwin-x64
- 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
@ -98,7 +78,6 @@ jobs:
name: robosats-desktop-${{ inputs.semver }}-win.zip name: robosats-desktop-${{ inputs.semver }}-win.zip
path: desktopApp/release-builds/desktopApp-win.zip path: desktopApp/release-builds/desktopApp-win.zip
- name: Create Pre-release - name: Create Pre-release
id: create_release id: create_release
if: inputs.semver == '' # only if this workflow is not called from a push to tag (a Release) if: inputs.semver == '' # only if this workflow is not called from a push to tag (a Release)
@ -111,35 +90,32 @@ jobs:
- name: Upload macOS Build Artifact - name: Upload macOS Build Artifact
id: upload-release-mac-zip-asset id: upload-release-mac-zip-asset
if: inputs.semver == '' # only if this workflow is not called from a push to tag (a Release) if: inputs.semver == '' # only if this workflow is not called from a push to tag (a Release)
uses: actions/upload-release-asset@v1 uses: actions/upload-artifact@v4
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
upload_url: ${{ steps.create_release.outputs.upload_url }} upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: /desktopApp-mac.zip path: /desktopApp-mac.zip
asset_name: robosats-desktop-${{ steps.commit.outputs.short }}-mac.zip name: robosats-desktop-${{ steps.commit.outputs.short }}-mac.zip
asset_content_type: application/zip
- name: Upload Windows Build Artifact - name: Upload Windows Build Artifact
id: upload-release-win-zip-asset id: upload-release-win-zip-asset
if: inputs.semver == '' # only if this workflow is not called from a push to tag (a Release) if: inputs.semver == '' # only if this workflow is not called from a push to tag (a Release)
uses: actions/upload-release-asset@v1 uses: actions/upload-artifact@v4
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
upload_url: ${{ steps.create_release.outputs.upload_url }} upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: /desktopApp-win.zip path: desktopApp/release-builds/Robosats-win32-ia32
asset_name: robosats-desktop-${{ steps.commit.outputs.short }}-win.zip name: robosats-desktop-${{ steps.commit.outputs.short }}-win32-ia32.zip
asset_content_type: application/zip
- name: Upload Linux Build Artifact - name: Upload Linux Build Artifact
id: upload-release-linux-zip-asset id: upload-release-linux-zip-asset
if: inputs.semver == '' # only if this workflow is not called from a push to tag (a Release) if: inputs.semver == '' # only if this workflow is not called from a push to tag (a Release)
uses: actions/upload-release-asset@v1 uses: actions/upload-artifact@v4
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
upload_url: ${{ steps.create_release.outputs.upload_url }} upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: /desktopApp-linux.zip path: desktopApp/release-builds/Robosats-linux-x64
asset_name: robosats-desktop-${{ steps.commit.outputs.short }}-linux.zip name: robosats-desktop-${{ steps.commit.outputs.short }}-linux-x64.zip
asset_content_type: application/zip

View File

@ -11,15 +11,15 @@ RoboSats v0.7.0 is now out! :rocket:
# Android # Android
**[Click to download universal RoboSats APK for Android](https://github.com/RoboSats/robosats/releases/download/vv0.7.0-alpha/robosats-vv0.7.0.alpha-universal.apk)** **[Click to download universal RoboSats APK for Android](https://github.com/RoboSats/robosats/releases/download/v0.7.0-alpha/robosats-v0.7.0.alpha-universal.apk)**
Smaller bundles for each CPU architecture available in the attachments. Smaller bundles for each CPU architecture available in the attachments.
### Verify the app using GPG: ### Verify the app using GPG:
1. [Download the ascii armored signature](https://github.com/Reckless-Satoshi/robosats/releases/download/vv0.7.0-alpha/robosats-vv0.7.0.alpha-universal.apk.asc) 1. [Download the ascii armored signature](https://github.com/Reckless-Satoshi/robosats/releases/download/v0.7.0-alpha/robosats-v0.7.0.alpha-universal.apk.asc)
2. Run this command on a directory that contains the apk file and and the ascii armored signature. 2. Run this command on a directory that contains the apk file and and the ascii armored signature.
`gpg --verify robosats-vv0.7.0.alpha-universal.apk.asc` `gpg --verify robosats-v0.7.0.alpha-universal.apk.asc`
3. Verify the signer is actually Reckless-Satoshi (fingerprints match): [B4AB5F19113D4125DDF217739C4585B561315571](https://keys.openpgp.org/vks/v1/by-fingerprint/B4AB5F19113D4125DDF217739C4585B561315571) 3. Verify the signer is actually Reckless-Satoshi (fingerprints match): [B4AB5F19113D4125DDF217739C4585B561315571](https://keys.openpgp.org/vks/v1/by-fingerprint/B4AB5F19113D4125DDF217739C4585B561315571)
@ -27,17 +27,17 @@ Alternatively you can also verify with the release with the SHA256 checksum.
# Docker Images # Docker Images
[Coordinator Backend Image vv0.7.0-alpha (Docker Hub)](https://hub.docker.com/r/recksato/robosats/tags?page=1&name=vv0.7.0-alpha) [Coordinator Backend Image v0.7.0-alpha (Docker Hub)](https://hub.docker.com/r/recksato/robosats/tags?page=1&name=v0.7.0-alpha)
```bash ```bash
docker pull recksato/robosats:vv0.7.0-alpha docker pull recksato/robosats:v0.7.0-alpha
``` ```
[Client App Image vv0.7.0-alpha (Docker Hub)](https://hub.docker.com/r/recksato/robosats-client/tags?page=1&name=vv0.7.0-alpha) [Client App Image v0.7.0-alpha (Docker Hub)](https://hub.docker.com/r/recksato/robosats-client/tags?page=1&name=v0.7.0-alpha)
```bash ```bash
docker pull recksato/robosats-client:vv0.7.0-alpha docker pull recksato/robosats-client:v0.7.0-alpha
``` ```
See [nodeapp/docker-compose.yml](https://github.com/Reckless-Satoshi/robosats/blob/2cd9d748706a8dcc0f03006b483acc6000e0572a/nodeapp/docker-compose.yml) for an example docker-compose usage of the `robosats-client` image. See [nodeapp/docker-compose.yml](https://github.com/Reckless-Satoshi/robosats/blob/2cd9d748706a8dcc0f03006b483acc6000e0572a/nodeapp/docker-compose.yml) for an example docker-compose usage of the `robosats-client` image.