Skip to content

Commit

Permalink
Pass the triggering workflow's workflow ID into create-release
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseTG committed Oct 19, 2024
1 parent 2b2edcf commit 6565393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
# Token required to download artifacts from other workflows in this run

run-id: '${{ inputs.run-id && github.run_id }}'
run-id: '${{ inputs.run-id || github.event.workflow_run.id }}'
# Use the run ID from the input if provided, otherwise use the current run ID

path: artifact
Expand Down

0 comments on commit 6565393

Please sign in to comment.