Skip to content

Set up an action to share links to uploaded artifacts in PR comments #51403

Discussion options

You must be logged in to vote

@Andre601

@erikmd Is giving you the framework of how this would work. The flow would look like so...

Workflow 1: build/test/publish artifact
Workflow 2: At the completion of workflow 1 if completed this job will run and retrieve the url and you can code to post it to the PR.

I want to clarify something from my experience. This statement here: I'm aware that the URL (from what I know) isn't provided/created by GitHub until the job has completed, which is why I would do the comment stuff on a separate job depending on the prior one. isn't exactly correct. What's really happening is the URL is available until the workflow if complete, not the job. Trust me I and many others have tried using …

Replies: 7 comments 24 replies

Comment options

You must be logged in to vote
1 reply
@Andre601
Comment options

Comment options

You must be logged in to vote
2 replies
@Andre601
Comment options

@erikmd
Comment options

Comment options

You must be logged in to vote
2 replies
@djthornton1212
Comment options

@gilzow
Comment options

Comment options

You must be logged in to vote
19 replies
@Andre601
Comment options

@djthornton1212
Comment options

@Andre601
Comment options

@djthornton1212
Comment options

@EvanMiiiiler
Comment options

Answer selected by Andre601
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question
6 participants