Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shuse2 committed May 19, 2024
1 parent b59b314 commit 7eb275b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/electron-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ jobs:
run: |
aws s3 sync s3://lisk-desktop-files/fonts ./setup/react/assets/fonts/
- name: Update package.json
if: startsWith(matrix.os, 'macos')
run: |
jq '.build.mac.notarize.teamId = "${{ secrets.apple_team_id }}"' package.json > package_temp.json
mv package_temp.json package.json
# - name: Update package.json
# if: startsWith(matrix.os, 'macos')
# run: |
# jq '.build.mac.notarize.teamId = "${{ secrets.apple_team_id }}"' package.json > package_temp.json
# mv package_temp.json package.json

- name: Install cpx
if: startsWith(matrix.os, 'desktop-build')
Expand Down Expand Up @@ -88,7 +88,6 @@ jobs:
API_KEY_ID: ${{ secrets.api_key_id_new }}
API_KEY_ISSUER_ID: ${{ secrets.api_key_issuer_id }}
APPLE_TEAM_ID: ${{ secrets.apple_team_id }}
notarize: true

- name: Output Notarization Error Log
if: failure() && startsWith(matrix.os, 'macos')
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,7 @@
"gatekeeperAssess": false,
"entitlements": "build/entitlements.plist",
"entitlementsInherit": "build/entitlements.plist",
"notarize": {
"teamId": "${APPLE_TEAM_ID}"
},
"notarize": true,
"target": {
"target": "default",
"arch": [
Expand Down

0 comments on commit 7eb275b

Please sign in to comment.