Pass the triggering workflow's workflow ID into create-release

This commit is contained in:
Jesse Talavera 2024-10-19 16:09:25 -04:00
parent 2b2edcf440
commit 6565393e33

View File

@ -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