File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ jobs:
2828 run : cargo build --release
2929
3030 - name : Import Apple Certificate
31- if : ${{ secrets.MACOS_CERTIFICATE != '' }}
3231 env :
3332 BUILD_CERTIFICATE_BASE64 : ${{ secrets.MACOS_CERTIFICATE }}
3433 P12_PASSWORD : ${{ secrets.MACOS_CERTIFICATE_PWD }}
34+ if : ${{ env.BUILD_CERTIFICATE_BASE64 != '' }}
3535 run : |
3636 CERTIFICATE_PATH=$RUNNER_TEMP/build_certificate.p12
3737 KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db
@@ -130,11 +130,11 @@ jobs:
130130 "RustTracker.app"
131131
132132 - name : Notarize DMG
133- if : ${{ secrets.APPLE_ID != '' }}
134133 env :
135134 APPLE_ID : ${{ secrets.APPLE_ID }}
136135 APPLE_ID_PASSWORD : ${{ secrets.APPLE_ID_PASSWORD }}
137136 APPLE_TEAM_ID : ${{ secrets.APPLE_TEAM_ID }}
137+ if : ${{ env.APPLE_ID != '' }}
138138 run : |
139139 echo "Submitting DMG for notarization..."
140140 xcrun notarytool submit RustTracker-MacOS-Installer.dmg \
You can’t perform that action at this time.
0 commit comments