Skip to content

Commit 01ab2e6

Browse files
committed
put it all together
1 parent 5154b1e commit 01ab2e6

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.github/workflows/build.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@ jobs:
3939
os:
4040
- ubuntu-20.04
4141
- ubuntu-22.04-arm
42-
# include:
43-
# - os: macos-13
44-
# cert_key: APPLE_DEVELOPER_SIGNING_CERTIFICATE
45-
# cert_password_key: APPLE_CERTIFICATE_PASSWORD
46-
# apple_id_key: APPLE_ID
47-
# apple_app_specific_password_key: APPLE_ID_PASSWORD
48-
# apple_team_id_key: APPLE_TEAM_ID
49-
# - os: windows-latest
50-
# cert_key: WINDOWS_CSC_CERTIFICATE
51-
# cert_password_key: WINDOWS_CSC_PASSWORD
42+
include:
43+
- os: macos-13
44+
cert_key: APPLE_DEVELOPER_SIGNING_CERTIFICATE
45+
cert_password_key: APPLE_CERTIFICATE_PASSWORD
46+
apple_id_key: APPLE_ID
47+
apple_app_specific_password_key: APPLE_ID_PASSWORD
48+
apple_team_id_key: APPLE_TEAM_ID
49+
- os: windows-latest
50+
cert_key: WINDOWS_CSC_CERTIFICATE
51+
cert_password_key: WINDOWS_CSC_PASSWORD
5252

5353
runs-on: ${{ matrix.os }}
5454

@@ -86,7 +86,7 @@ jobs:
8686
run: sleep 4
8787
- name: Publish
8888
if: ${{ startsWith(matrix.os, 'ubuntu') && endsWith(matrix.os, 'arm') }}
89-
run: npm run publish:arm64
89+
run: npm run publish:linux:arm64
9090
- name: Publish
9191
if: ${{ !startsWith(matrix.os, 'ubuntu') || !endsWith(matrix.os, 'arm') }}
9292
run: npm run publish

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
"build": "npm run compile && sleep 4 && npm run bundle && sleep 4 && electron-builder",
4141
"copy-assets": "shx mkdir -p ./compiled/main/windows && shx cp ./main/windows/*.png ./compiled/main/windows",
4242
"parcel:build": "parcel build --no-autoinstall --public-url .",
43-
"publish": "electron-builder -c.snap.publish=github",
44-
"publish:arm64": "electron-builder -c.snap.publish=github --config=builder/electron-builder-linux-arm64.js",
43+
"publish": "electron-builder -c.snap.publish=github --config=builder/electron-builder-standard.js",
44+
"publish:linux:arm64": "electron-builder -c.snap.publish=github --config=builder/electron-builder-linux-arm64.js",
4545
"release": "npm run compile && sleep 4 && npm run bundle && sleep 4 && npm run publish",
4646
"postinstall": "electron-builder install-app-deps",
4747
"test": "npm run test:unit && npm run test:e2e",

0 commit comments

Comments
 (0)