Open toimc opened 2 years ago
I am using electron-notarize library instead on electron-builder-notarize, maybe can work for you aswell
- name: Build and Release App
uses: CryogenicPlanet/action-electron-builder@v2 # Using CryogenicPlanet until the main action adds skip_install https://github.com/samuelmeuli/action-electron-builder/pull/60
with:
github_token: ${{ secrets.gh_token }}
# Sign the code with apple developer certificates
mac_certs: ${{ secrets.mac_certs }}
mac_certs_password: ${{ secrets.mac_certs_password }}
max_attempts: 2
release: true
env:
# macOS notarization envs
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
Q: When I change the electron-builder configuration the target of mac from 'dmg' to 'dmg, zip', the notarize would failed.
My actions result: https://github.com/toimc/electron-vite-demo-lesson/actions/runs/1489990900
My Environment:
electron-builder.config.js
My Github Action Config:
Q: When I change the target of mac from 'dmg' to 'dmg, zip', the notarize would failed.
Any sugguestion?
Thanks.