env not secret
You can only use the env context in the value of the with and name keys, or in a step’s if conditional, the secret value is not defined yet as its before the with.
This commit is contained in:
parent
92d009b93d
commit
4f5b359cfc
2
.github/workflows/flutter-nightly.yml
vendored
2
.github/workflows/flutter-nightly.yml
vendored
@ -153,7 +153,7 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Import the codesign cert
|
- name: Import the codesign cert
|
||||||
if: ${{ secrets.MACOS_P12_BASE64== 'true' }}
|
if: ${{ env.MACOS_P12_BASE64== 'true' }}
|
||||||
uses: apple-actions/import-codesign-certs@v1
|
uses: apple-actions/import-codesign-certs@v1
|
||||||
with:
|
with:
|
||||||
p12-file-base64: ${{ secrets.MACOS_P12_BASE64 }}
|
p12-file-base64: ${{ secrets.MACOS_P12_BASE64 }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user