.secrets doesnt work in if

This commit is contained in:
botanicvelious 2023-01-18 19:59:07 -07:00 committed by GitHub
parent d58b834c4c
commit 86885eb5b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,7 +156,7 @@ jobs:
uses: actions/checkout@v3
- name: Import the codesign cert
if: secrets.MACOS_P12_BASE64 != null
if: env.MACOS_P12_BASE64 != null
uses: apple-actions/import-codesign-certs@v1
with:
p12-file-base64: ${{ secrets.MACOS_P12_BASE64 }}