Skip to content

Commit 4a29d3c

Browse files
jamesarichCopilot
andauthored
fix(ci): skip macOS signing when secrets are missing (#5263)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent fbca325 commit 4a29d3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ jobs:
294294
ORG_GRADLE_PROJECT_appVersionName: ${{ needs.prepare-build-info.outputs.APP_VERSION_NAME }}
295295
VERSION_CODE: ${{ needs.prepare-build-info.outputs.APP_VERSION_CODE }}
296296
APPIMAGE_EXTRACT_AND_RUN: 1
297-
SIGN_MACOS: ${{ runner.os == 'macOS' && 'true' || 'false' }}
297+
SIGN_MACOS: ${{ runner.os == 'macOS' && secrets.APPLE_SIGNING_IDENTITY != '' && 'true' || 'false' }}
298298
APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}
299299
APPLE_ID: ${{ secrets.APPLE_ID }}
300300
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}

0 commit comments

Comments
 (0)