Skip to content

Commit 21a83fa

Browse files
authored
improvement: enhance release-desktop script (#8219)
1 parent a12a309 commit 21a83fa

File tree

2 files changed

+22
-7
lines changed

2 files changed

+22
-7
lines changed

.github/workflows/release-desktop-mas.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ jobs:
147147
xcrun altool --validate-app --f ./apps/desktop/build-electron/mas-universal/*.pkg -t macOS -u $APPLEID -p $APPLEIDPASS --show-progress
148148
149149
- name: upload mas for Testflight
150+
continue-on-error: true
150151
env:
151152
APPLEID: ${{ secrets.APPLEID }}
152153
APPLEIDPASS: ${{ secrets.APPLEIDPASS }}

.github/workflows/release-desktop.yml

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -114,24 +114,38 @@ jobs:
114114
path: |
115115
./apps/desktop/build-electron/*.yml
116116
117-
- name: Upload Artifacts Mac
117+
- name: Upload universal Mac DMG
118118
uses: actions/upload-artifact@v4
119119
with:
120-
name: onekey-desktop-mac
120+
name: onekey-desktop-mac-universal-dmg
121121
path: |
122-
./apps/desktop/build-electron/*.dmg
122+
./apps/desktop/build-electron/*-universal.dmg
123123
124-
- name: Upload Artifacts Linux
124+
- name: Upload x64 Mac DMG
125125
uses: actions/upload-artifact@v4
126126
with:
127-
name: onekey-desktop-linux
127+
name: onekey-desktop-mac-x64-dmg
128128
path: |
129-
./apps/desktop/build-electron/*.AppImage
129+
./apps/desktop/build-electron/*-x64.dmg
130+
131+
- name: Upload arm64 Mac DMG
132+
uses: actions/upload-artifact@v4
133+
with:
134+
name: onekey-desktop-mac-arm64-dmg
135+
path: |
136+
./apps/desktop/build-electron/*-arm64.dmg
137+
138+
- name: Upload Linux x86_64 AppImage
139+
uses: actions/upload-artifact@v4
140+
with:
141+
name: onekey-desktop-linux-x86_64-appimage
142+
path: |
143+
./apps/desktop/build-electron/*-x86_64.AppImage
130144
131145
- name: Upload Artifacts Release
132146
uses: actions/upload-artifact@v4
133147
with:
134-
name: release
148+
name: release-desktop-mac-and-linux
135149
path: |
136150
./apps/desktop/build-electron/*
137151
!./apps/desktop/build-electron/win-unpacked

0 commit comments

Comments
 (0)