Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 3
Message 1 of 10

API to download artifact

Solved! Go to Solution.

Is there an API for Github Actions?

I need to download an artifact produced by actions/upload-artifact.

I don't mean to download the artifact for a subsequent job, like I can do with actions/download-artifact.

 

Thanks,

Danilo

 

9 Replies
Highlighted
Ground Controller Lvl 1
Message 2 of 10

Re: API to download artifact

Bump as I'm looking for this as well.
Highlighted
Community Manager
Message 3 of 10

Re: API to download artifact

Hi @tuler,

 

Thank you for being here and our apologies for the delay in response. At this time there is not, however this is very much on the roadmap and being worked on. 


I hope this helps, AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Copilot Lvl 3
Message 4 of 10

Re: API to download artifact

Hi @AndreaGriffiths11,

 

Thanks for your response. Can you provide ETA for this API?

Highlighted
Copilot Lvl 2
Message 5 of 10

Re: API to download artifact

+1

 

very upsetting that so cool feature released without API...

Highlighted
GitHub Staff
Message 6 of 10

Re: API to download artifact

We're working on this now. Rough ETA is 4-6 weeks.

Highlighted
Copilot Lvl 2
Message 7 of 10

Re: API to download artifact

Is the API available now?

Highlighted
Solution
GitHub Staff
Message 8 of 10

Re: API to download artifact

Highlighted
Copilot Lvl 2
Message 9 of 10

Re: API to download artifact

Is there a way to get the latest Run id? 

Highlighted
Pilot Lvl 1
Message 10 of 10

Re: API to download artifact

curl -sL https://api.github.com/repos/USER/REPO/actions/workflows/WORKFLOW.yml/runs  | jq -r '.workflow_runs[0].id?'

With, of course, USER, REPO and WORKFLOW adjusted