generated from actions/container-action
-
Notifications
You must be signed in to change notification settings - Fork 232
Open
Description
We have two workflows, one for building and one for releasing built artifacts upon a tag release. They're both summoned from one push event, and the release job waits for the other job:
- name: Wait for builds
uses: lewagon/[email protected]
with:
ref: ${{ github.ref }}
check-name: 'Build, Test, and Upload Builds'
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
- name: Download artifacts
id: download-artifact
uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{secrets.GITHUB_TOKEN}}
branch: main
workflow: dotnet.yml
workflow_conclusion: success
if_no_artifact_found: fail
skip_unpack: trueFor some reason, downloading the artifact downloads one from a previous push to master instead of downloading from the job we just waited for. I suspect this is because the commit SHAs match. It would be nice if I could specify the tag, so this workflow only considers workflows for that tag.
P.S: Sorry if this issue doesn't make sense, I'm tired 🙃
GRBurst and Sh3Rm4n
Metadata
Metadata
Assignees
Labels
No labels