From c9be69f226612e27ad2417b8cf20f6447265c6de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Tue, 2 Aug 2022 13:03:25 +0200 Subject: [PATCH] Add code sign and notarization --- .github/workflows/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 70efb0e..0ef9f3b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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