Skip to content

Commit

Permalink
chore: Update build workflow to build and notarize on pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
truemiller committed May 8, 2024
1 parent f674a54 commit 42feb40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,12 @@ jobs:
env:
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_FOR_PULL_REQUEST: true
APPLEID: ${{ secrets.APPLEID }}
APPLEIDPASS: ${{ secrets.APPLEIDPASS }}
GH_TOKEN: ${{ secrets.github_token}}
NODE_ENV: production
run: rm -rf /dist && npm exec --package=electron-builder -- electron-builder build --mac --arm64 --publish always
run: rm -rf /dist && npm exec --package=electron-builder -- electron-builder build --mac --arm64 --publish never

- name: Upload release attachment
uses: actions/github-script@v4
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
"private": true,
"build": {
"appId": "xyz.valory.olas-operate-app",
"afterSign": "electron/notarize.js",
"forceCodeSigning": true,
"afterSign": "electron/notarize.js",
"productName": "Olas Operate",
"directories": {
"output": "dist"
Expand Down

0 comments on commit 42feb40

Please sign in to comment.