Skip to content

Commit

Permalink
put it all together
Browse files Browse the repository at this point in the history
  • Loading branch information
mholtzman committed Jan 29, 2025
1 parent 5154b1e commit 01ab2e6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@ jobs:
os:
- ubuntu-20.04
- ubuntu-22.04-arm
# include:
# - os: macos-13
# cert_key: APPLE_DEVELOPER_SIGNING_CERTIFICATE
# cert_password_key: APPLE_CERTIFICATE_PASSWORD
# apple_id_key: APPLE_ID
# apple_app_specific_password_key: APPLE_ID_PASSWORD
# apple_team_id_key: APPLE_TEAM_ID
# - os: windows-latest
# cert_key: WINDOWS_CSC_CERTIFICATE
# cert_password_key: WINDOWS_CSC_PASSWORD
include:
- os: macos-13
cert_key: APPLE_DEVELOPER_SIGNING_CERTIFICATE
cert_password_key: APPLE_CERTIFICATE_PASSWORD
apple_id_key: APPLE_ID
apple_app_specific_password_key: APPLE_ID_PASSWORD
apple_team_id_key: APPLE_TEAM_ID
- os: windows-latest
cert_key: WINDOWS_CSC_CERTIFICATE
cert_password_key: WINDOWS_CSC_PASSWORD

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

Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
run: sleep 4
- name: Publish
if: ${{ startsWith(matrix.os, 'ubuntu') && endsWith(matrix.os, 'arm') }}
run: npm run publish:arm64
run: npm run publish:linux:arm64
- name: Publish
if: ${{ !startsWith(matrix.os, 'ubuntu') || !endsWith(matrix.os, 'arm') }}
run: npm run publish
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"build": "npm run compile && sleep 4 && npm run bundle && sleep 4 && electron-builder",
"copy-assets": "shx mkdir -p ./compiled/main/windows && shx cp ./main/windows/*.png ./compiled/main/windows",
"parcel:build": "parcel build --no-autoinstall --public-url .",
"publish": "electron-builder -c.snap.publish=github",
"publish:arm64": "electron-builder -c.snap.publish=github --config=builder/electron-builder-linux-arm64.js",
"publish": "electron-builder -c.snap.publish=github --config=builder/electron-builder-standard.js",
"publish:linux:arm64": "electron-builder -c.snap.publish=github --config=builder/electron-builder-linux-arm64.js",
"release": "npm run compile && sleep 4 && npm run bundle && sleep 4 && npm run publish",
"postinstall": "electron-builder install-app-deps",
"test": "npm run test:unit && npm run test:e2e",
Expand Down

0 comments on commit 01ab2e6

Please sign in to comment.