fix: osx notary

This commit is contained in:
hstyi
2025-07-17 11:28:00 +08:00
committed by hstyi
parent 8b08edf38f
commit 4f8ffbf225

View File

@@ -23,7 +23,7 @@ jobs:
fetch-depth: 1
- name: Install the Apple certificate
if: "env.TERMORA_MAC_SIGN && env.BUILD_CERTIFICATE_BASE64 != ''"
if: ${{ fromJSON(env.TERMORA_MAC_SIGN) && env.BUILD_CERTIFICATE_BASE64 != '' }}
env:
BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
P12_PASSWORD: ${{ secrets.P12_PASSWORD }}
@@ -46,7 +46,7 @@ jobs:
security list-keychain -d user -s $KEYCHAIN_PATH
- name: Setup the Notary information
if: "env.TERMORA_MAC_NOTARY && env.APPLE_ID != ''"
if: ${{ fromJSON(env.TERMORA_MAC_NOTARY) && env.APPLE_ID != '' }}
env:
APPLE_ID: ${{ secrets.APPLE_ID }}
TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}