Add code sign and notarization
This commit is contained in:
parent
6bd94c4798
commit
c9be69f226
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue