Skip to content

Commit

Permalink
Allow to sign artifacts with workflow_dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed May 22, 2024
1 parent a4bbf54 commit 85327d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
pull_request:
release:
types: ['published']
workflow_dispatch:


jobs:
Expand Down Expand Up @@ -126,7 +127,7 @@ jobs:
path: ${{ env.CMAKE_BUILD_DIR }}/_CPack_Packages/**/*.log

- name: 🎭 Sign
if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags/v') && env.ARTIFACT_NAME != null
if: ( github.event_name == 'release' || github.event_name == 'workflow_dispatch' ) && startsWith(github.ref, 'refs/tags/v') && env.ARTIFACT_NAME != null
uses: azure/trusted-signing-action@v0.3.18
with:
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
Expand Down

0 comments on commit 85327d4

Please sign in to comment.