Add code sign and notarization

This commit is contained in:
Jan-Otto Kröpke 2022-08-02 13:03:25 +02:00
parent 6bd94c4798
commit c9be69f226
No known key found for this signature in database
GPG Key ID: 3F619F17002790D8
1 changed files with 6 additions and 1 deletions

View File

@ -37,7 +37,7 @@ jobs:
choco install visualstudio2019buildtools visualstudio2019-workload-vctools
fi
if [ "$RUNNER_OS" == "macOS" ]; then
env ELECTRON_BUILDER_EXTRA_ARGS="--arm64 --x64" make build
env ELECTRON_BUILDER_EXTRA_ARGS="--arm64 --x64 --config.dmg.sign=false" make build
for file in dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.dmg; do
if [[ "$file" == *"arm64"* ]]; then
cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}-arm64.dmg
@ -63,6 +63,11 @@ jobs:
fi
shell: bash
working-directory: lens
env:
APPLEID: ${{ secrets.APPLEID }}
APPLEIDPASS: ${{ secrets.APPLEIDPASS }}
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
- name: Calculate SHA256 checksum
run: |
if [ "$RUNNER_OS" == "Windows" ]; then