Skip to content

Commit 9054b87

Browse files
Fix desktop artifact upload
1 parent e199bba commit 9054b87

File tree

2 files changed

+18
-42
lines changed

2 files changed

+18
-42
lines changed

.github/workflows/desktop-build.yml

+11-35
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ jobs:
3838
cd desktopApp
3939
npm install
4040
41-
- name: Install zip utility
42-
run: |
43-
sudo apt-get update
44-
sudo apt-get install -y zip
45-
4641
- name: Build for macOS
4742
run: |
4843
cd desktopApp
@@ -58,21 +53,6 @@ jobs:
5853
cd desktopApp
5954
npm run package-linux
6055
61-
- name: Create ZIP for macOS Build
62-
run: |
63-
cd desktopApp/release-builds/
64-
sudo zip -r /desktopApp-mac.zip ./Robosats-darwin-x64/*
65-
66-
- name: Create ZIP for Windows Build
67-
run: |
68-
cd desktopApp/release-builds/
69-
sudo zip -r /desktopApp-win.zip ./Robosats-win32-ia32/*
70-
71-
- name: Create ZIP for Linux Build
72-
run: |
73-
cd desktopApp/release-builds/
74-
sudo zip -r /desktopApp-linux.zip ./Robosats-linux-x64/*
75-
7656
- name: 'Get Commit Hash'
7757
id: commit
7858
uses: pr-mpt/actions-commit-hash@v3
@@ -81,8 +61,8 @@ jobs:
8161
uses: actions/upload-artifact@v4
8262
if: inputs.semver != '' # only if this workflow is called from a push to tag (a Release)
8363
with:
84-
name: robosats-desktop-${{ inputs.semver }}-mac.zip
85-
path: desktopApp/release-builds/desktopApp-mac.zip
64+
name: robosats-desktop-${{ inputs.semver }}-mac-darwin-x64.zip
65+
path: desktopApp/release-builds/Robosats-darwin-x64
8666

8767
- name: 'Upload linux-build Release Artifact (for Release)'
8868
uses: actions/upload-artifact@v4
@@ -98,7 +78,6 @@ jobs:
9878
name: robosats-desktop-${{ inputs.semver }}-win.zip
9979
path: desktopApp/release-builds/desktopApp-win.zip
10080

101-
10281
- name: Create Pre-release
10382
id: create_release
10483
if: inputs.semver == '' # only if this workflow is not called from a push to tag (a Release)
@@ -111,35 +90,32 @@ jobs:
11190
- name: Upload macOS Build Artifact
11291
id: upload-release-mac-zip-asset
11392
if: inputs.semver == '' # only if this workflow is not called from a push to tag (a Release)
114-
uses: actions/upload-release-asset@v1
93+
uses: actions/upload-artifact@v4
11594
env:
11695
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
11796
with:
11897
upload_url: ${{ steps.create_release.outputs.upload_url }}
119-
asset_path: /desktopApp-mac.zip
120-
asset_name: robosats-desktop-${{ steps.commit.outputs.short }}-mac.zip
121-
asset_content_type: application/zip
98+
path: /desktopApp-mac.zip
99+
name: robosats-desktop-${{ steps.commit.outputs.short }}-mac.zip
122100

123101
- name: Upload Windows Build Artifact
124102
id: upload-release-win-zip-asset
125103
if: inputs.semver == '' # only if this workflow is not called from a push to tag (a Release)
126-
uses: actions/upload-release-asset@v1
104+
uses: actions/upload-artifact@v4
127105
env:
128106
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
129107
with:
130108
upload_url: ${{ steps.create_release.outputs.upload_url }}
131-
asset_path: /desktopApp-win.zip
132-
asset_name: robosats-desktop-${{ steps.commit.outputs.short }}-win.zip
133-
asset_content_type: application/zip
109+
path: desktopApp/release-builds/Robosats-win32-ia32
110+
name: robosats-desktop-${{ steps.commit.outputs.short }}-win32-ia32.zip
134111

135112
- name: Upload Linux Build Artifact
136113
id: upload-release-linux-zip-asset
137114
if: inputs.semver == '' # only if this workflow is not called from a push to tag (a Release)
138-
uses: actions/upload-release-asset@v1
115+
uses: actions/upload-artifact@v4
139116
env:
140117
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
141118
with:
142119
upload_url: ${{ steps.create_release.outputs.upload_url }}
143-
asset_path: /desktopApp-linux.zip
144-
asset_name: robosats-desktop-${{ steps.commit.outputs.short }}-linux.zip
145-
asset_content_type: application/zip
120+
path: desktopApp/release-builds/Robosats-linux-x64
121+
name: robosats-desktop-${{ steps.commit.outputs.short }}-linux-x64.zip

release_notes.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -11,33 +11,33 @@ RoboSats v0.7.0 is now out! :rocket:
1111

1212
# Android
1313

14-
**[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)**
14+
**[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)**
1515
Smaller bundles for each CPU architecture available in the attachments.
1616

1717
### Verify the app using GPG:
1818

19-
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)
19+
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)
2020

2121
2. Run this command on a directory that contains the apk file and and the ascii armored signature.
22-
`gpg --verify robosats-vv0.7.0.alpha-universal.apk.asc`
22+
`gpg --verify robosats-v0.7.0.alpha-universal.apk.asc`
2323

2424
3. Verify the signer is actually Reckless-Satoshi (fingerprints match): [B4AB5F19113D4125DDF217739C4585B561315571](https://keys.openpgp.org/vks/v1/by-fingerprint/B4AB5F19113D4125DDF217739C4585B561315571)
2525

2626
Alternatively you can also verify with the release with the SHA256 checksum.
2727

2828
# Docker Images
2929

30-
[Coordinator Backend Image vv0.7.0-alpha (Docker Hub)](https://hub.docker.com/r/recksato/robosats/tags?page=1&name=vv0.7.0-alpha)
30+
[Coordinator Backend Image v0.7.0-alpha (Docker Hub)](https://hub.docker.com/r/recksato/robosats/tags?page=1&name=v0.7.0-alpha)
3131

3232

3333
```bash
34-
docker pull recksato/robosats:vv0.7.0-alpha
34+
docker pull recksato/robosats:v0.7.0-alpha
3535
```
3636

37-
[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)
37+
[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)
3838

3939
```bash
40-
docker pull recksato/robosats-client:vv0.7.0-alpha
40+
docker pull recksato/robosats-client:v0.7.0-alpha
4141
```
4242

4343
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.

0 commit comments

Comments
 (0)