Skip to content

Commit 93c6fff

Browse files
Update build-and-sign-sequential.yml
1 parent 74477f7 commit 93c6fff

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build-and-sign-sequential.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,6 @@ jobs:
425425

426426
# Upload ZIP for SignPath
427427
- name: Upload ZIP for SignPath
428-
if: (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) && github.event.inputs.skip_signing != 'true'
429428
id: upload_for_signpath
430429
uses: actions/upload-artifact@v4
431430
with:
@@ -435,7 +434,7 @@ jobs:
435434

436435
# STEP 8: Submit to SignPath
437436
- name: "Step 8: Submit to SignPath"
438-
if: (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) && github.event.inputs.skip_signing != 'true' && steps.upload_for_signpath.outputs.artifact-id != ''
437+
if: github.event.inputs.skip_signing != 'true' && steps.upload_for_signpath.outputs.artifact-id != ''
439438
id: signpath_request
440439
uses: signpath/github-action-submit-signing-request@v1
441440
with:
@@ -479,7 +478,7 @@ jobs:
479478
Write-Output "5️⃣ Control App (x64 + ARM64) ✅"
480479
Write-Output "6️⃣ Installer ✅"
481480
Write-Output "7️⃣ ZIP Package ✅"
482-
Write-Output "8️⃣ SignPath Submission $(if ('${{ steps.signpath_request.outcome }}' -eq 'success') { '✅' } elseif ('${{ github.event.inputs.skip_signing }}' -eq 'true') { '⏭️ (skipped)' } else { '❌' })"
481+
Write-Output "8️⃣ SignPath Submission $(if ('${{ steps.signpath_request.outcome }}' -eq 'success') { '✅' } elseif ('${{ github.event.inputs.skip_signing }}' -eq 'true') { '⏭️ (skipped by input)' } elseif ('${{ steps.upload_for_signpath.outputs.artifact-id }}' -eq '') { '⏭️ (no artifact uploaded)' } else { '❌' })"
483482
Write-Output ""
484483
Write-Output "Artifacts Created:"
485484
Write-Output "• Virtual-Driver-Complete-Package-${{ env.RELEASE_TAG }}"

0 commit comments

Comments
 (0)