Skip to content

Commit a1f727a

Browse files
committed
Fix syntax in macos.yml cleanup secret condition
1 parent e5edb1e commit a1f727a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/macos.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,9 @@ jobs:
147147
xcrun stapler staple RustTracker-MacOS-Installer.dmg
148148
149149
- name: Clean up Keychain
150-
if: always() && secrets.MACOS_CERTIFICATE != ''
150+
env:
151+
MACOS_CERTIFICATE: ${{ secrets.MACOS_CERTIFICATE }}
152+
if: always() && env.MACOS_CERTIFICATE != ''
151153
run: |
152154
KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db
153155
if [ -f "$KEYCHAIN_PATH" ]; then

0 commit comments

Comments
 (0)