action-download-artifact icon indicating copy to clipboard operation
action-download-artifact copied to clipboard

"no matching workflow run found with any artifacts?" with unspecified name

Open sparr opened this issue 2 years ago • 3 comments

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 avatar Aug 10 '22 13:08 sparr

@sparr the logs have expired, just wanted to notify you.

rahulk789 avatar Dec 02 '22 16:12 rahulk789

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

germa89 avatar Dec 16 '22 10:12 germa89

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.

sparr avatar Dec 17 '22 21:12 sparr