Skip to content

Commit 32e4336

Browse files
authored
feat: Prepare Apple Silicon release (#478)
1 parent bf69225 commit 32e4336

File tree

3 files changed

+13
-25
lines changed

3 files changed

+13
-25
lines changed

.github/workflows/build-app.yml

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -26,37 +26,25 @@ jobs:
2626
- name: Build
2727
run: yarn build
2828

29-
- name: Make macOS (electron-builder)
29+
- name: Make macOS x64 (electron-builder)
3030
env:
3131
CSC_LINK: ${{ secrets.mac_certs }}
3232
CSC_KEY_PASSWORD: ${{ secrets.mac_certs_password }}
33-
run: yarn make:macos --publish=never -c.mac.identity=null
33+
run: yarn make:macos:x64 --publish=never -c.mac.identity=null
3434

35-
- name: Clean up builds
36-
run: rm -rfv dist/mac
37-
38-
- uses: actions/upload-artifact@v1
39-
with:
40-
name: Gitify-dist-mac
41-
path: dist
42-
43-
- name: Clean up dist
44-
run: rm -rfv dist
45-
46-
- name: Make macOS ARM64 (electron-builder)
35+
- name: Make macOS arm64 (electron-builder)
4736
env:
4837
CSC_LINK: ${{ secrets.mac_certs }}
4938
CSC_KEY_PASSWORD: ${{ secrets.mac_certs_password }}
50-
run: yarn make:macos_arm --publish=never -c.mac.identity=null
51-
39+
run: yarn make:macos:arm64 --publish=never -c.mac.identity=null
40+
5241
- name: Clean up builds
53-
run: rm -rfv dist/mac-arm64
42+
run: rm -rfv dist/mac dist/mac-arm64
5443

55-
- uses: actions/upload-artifact@v1
44+
- uses: actions/upload-artifact@v2
5645
with:
57-
name: Gitify-dist-mac-arm64
58-
path: dist
59-
46+
name: Gitify-dist-mac
47+
path: dist/
6048

6149
build-windows:
6250
runs-on: windows-2019

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
GH_TOKEN: ${{ secrets.gh_token }}
4242
NOTARIZE: true
4343
run: |
44-
yarn make:macos --publish onTagOrDraft
45-
yarn make:macos_arm --publish onTagOrDraft
44+
yarn make:macos:x64 --publish onTagOrDraft
45+
yarn make:macos:arm64 --publish onTagOrDraft
4646
4747
release-windows:
4848
runs-on: windows-2019

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"build": "webpack --config webpack.prod.js",
88
"watch": "webpack --config webpack.common.js --watch",
99
"make:linux": "electron-builder --linux",
10-
"make:macos": "electron-builder --mac",
11-
"make:macos_arm": "electron-builder --mac --arm64",
10+
"make:macos:x64": "electron-builder --mac --x64",
11+
"make:macos:arm64": "electron-builder --mac --arm64",
1212
"make:win": "electron-builder --win",
1313
"prettier:check": "prettier --check 'src/**/*.{js,ts,tsx}'",
1414
"prettier:apply": "prettier --write 'src/**/*.{js,ts,tsx}'",

0 commit comments

Comments
 (0)