Skip to content

Commit f5fa18e

Browse files
committed
Bump to v0.7.5-alpha fix files test 4
1 parent e59ae8c commit f5fa18e

File tree

2 files changed

+28
-17
lines changed

2 files changed

+28
-17
lines changed

.github/workflows/desktop-build.yml

+24-6
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,31 @@ jobs:
7070
- name: Print semver
7171
run: echo The semver is ${{ github.event.inputs.semver }}
7272

73+
- name: Install zip
74+
run: sudo apt-get install -y zip
75+
76+
- name: Create macOS ZIP file
77+
run: |
78+
cd desktopApp/release-builds
79+
zip -r Robosats-darwin-x64.zip Robosats-darwin-x64
80+
81+
- name: Create Windows ZIP file
82+
run: |
83+
cd desktopApp/release-builds
84+
zip -r Robosats-win32-ia32.zip Robosats-win32-ia32
85+
86+
- name: Create Linux ZIP file
87+
run: |
88+
cd desktopApp/release-builds
89+
zip -r Robosats-linux-x64.zip Robosats-linux-x64
90+
7391
- name: Upload macOS Build Artifact
7492
if: inputs.semver != ''
7593
uses: actions/upload-artifact@v4
7694
env:
7795
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7896
with:
79-
path: desktopApp/release-builds/Robosats-darwin-x64
97+
path: desktopApp/release-builds/Robosats-darwin-x64.zip
8098
name: robosats-desktop-${{ inputs.semver }}-mac-darwin-x64.zip
8199

82100
- name: Upload Windows Build Artifact
@@ -85,7 +103,7 @@ jobs:
85103
env:
86104
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
87105
with:
88-
path: desktopApp/release-builds/Robosats-win32-ia32
106+
path: desktopApp/release-builds/Robosats-win32-ia32.zip
89107
name: robosats-desktop-${{ inputs.semver }}-win32-ia32.zip
90108

91109
- name: Upload Linux Build Artifact
@@ -94,7 +112,7 @@ jobs:
94112
env:
95113
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
96114
with:
97-
path: desktopApp/release-builds/Robosats-linux-x64
115+
path: desktopApp/release-builds/Robosats-linux-x64.zip
98116
name: robosats-desktop-${{ inputs.semver }}-linux-x64.zip
99117

100118
- name: Upload macOS Build Artifact
@@ -104,7 +122,7 @@ jobs:
104122
env:
105123
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
106124
with:
107-
path: desktopApp/release-builds/Robosats-darwin-x64
125+
path: desktopApp/release-builds/Robosats-darwin-x64.zip
108126
name: robosats-desktop-${{ steps.commit.outputs.short }}-mac-darwin-x64.zip
109127

110128
- name: Upload Windows Build Artifact
@@ -114,7 +132,7 @@ jobs:
114132
env:
115133
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
116134
with:
117-
path: desktopApp/release-builds/Robosats-win32-ia32
135+
path: desktopApp/release-builds/Robosats-win32-ia32.zip
118136
name: robosats-desktop-${{ steps.commit.outputs.short }}-win32-ia32.zip
119137

120138
- name: Upload Linux Build Artifact
@@ -124,5 +142,5 @@ jobs:
124142
env:
125143
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
126144
with:
127-
path: desktopApp/release-builds/Robosats-linux-x64
145+
path: desktopApp/release-builds/Robosats-linux-x64.zip
128146
name: robosats-desktop-${{ steps.commit.outputs.short }}-linux-x64.zip

.github/workflows/release.yml

+4-11
Original file line numberDiff line numberDiff line change
@@ -173,28 +173,21 @@ jobs:
173173
- name: List macOS build directory
174174
run: ls -la
175175

176-
- name: 'Verify macOS Build Artifact'
177-
run: |
178-
if [ ! -f "robosats-desktop-${{ needs.check-versions.outputs.semver }}-mac-darwin-x64.zip" ]; then
179-
echo "Error: macOS build artifact not found!"
180-
exit 1
181-
fi
182-
183176
- name: 'Upload macOS Build Artifact'
184177
id: upload-release-mac-zip-asset
185178
uses: actions/upload-release-asset@v1
186179
env:
187180
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
188181
with:
189182
upload_url: ${{ steps.create-release.outputs.upload_url }}
190-
asset_path: robosats-desktop-${{ needs.check-versions.outputs.semver }}-mac-darwin-x64.zip
183+
asset_path: Robosats-darwin-x64.zip
191184
asset_name: robosats-desktop-${{ needs.check-versions.outputs.semver }}-mac-darwin-x64.zip
192185
asset_content_type: application/zip
193186

194187
- name: 'Download linux Build Artifact'
195188
uses: actions/download-artifact@v4
196189
with:
197-
path: desktopApp/release-builds/Robosats-linux-x64
190+
path: .
198191
name: robosats-desktop-${{ needs.check-versions.outputs.semver }}-linux-x64.zip
199192

200193
- name: 'Upload linux Build Artifact'
@@ -204,7 +197,7 @@ jobs:
204197
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
205198
with:
206199
upload_url: ${{ steps.create-release.outputs.upload_url }}
207-
asset_path: desktopApp/release-builds/Robosats-linux-x64
200+
asset_path: Robosats-linux-x64.zip
208201
asset_name: robosats-desktop-${{ needs.check-versions.outputs.semver }}-linux-x64.zip
209202
asset_content_type: application/zip
210203

@@ -221,6 +214,6 @@ jobs:
221214
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
222215
with:
223216
upload_url: ${{ steps.create-release.outputs.upload_url }}
224-
asset_path: ./robosats-desktop-${{ needs.check-versions.outputs.semver }}-win32-ia32.zip
217+
asset_path: Robosats-win32-ia32.zip
225218
asset_name: robosats-desktop-${{ needs.check-versions.outputs.semver }}-win32-ia32.zip
226219
asset_content_type: application/zip

0 commit comments

Comments
 (0)