action-download-artifact
action-download-artifact copied to clipboard
"no matching workflow run found with any artifacts?" with unspecified name
I see Error: no matching workflow run found with any artifacts?
when I try to use this action without specifying a name
parameter. If I specify a name
for an artifact then it downloads successfully.
Example: https://github.com/sparr/experiment-actions-artifacts/runs/7767147119?check_suite_focus=true where you can see the file-list artifact created on previous and later runs, but downloading only starts working one commit later when I specify the name of the artifact in the action.
@sparr the logs have expired, just wanted to notify you.
@sparr
If you dont specify workflow file name (with.workflow
), it uses the current workflow which, in your case, it hasn't generated artifacts yet.
If you want to download something from another workflow, you need to specify it.
The run I linked above has expired so I can't be sure, but I think my workflow had previously produced an artifact named file-list
. I'll try to reproduce this in the near future since I'll be working on that workflow again.