Skip to content

Fix workflow example for downloading by artifact ID #402

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 24, 2025

Conversation

joshmgross
Copy link
Contributor

@ramonpetgrave64 pointed out that the upload job was not defining any outputs, preventing this example from working:
#401 (comment)

I've updated the example to define that job output and make it clear that the upload step output is not being passed directly between jobs. I've also added some spacing for readability.

@Copilot Copilot AI review requested due to automatic review settings April 23, 2025 14:29
@joshmgross joshmgross requested a review from a team as a code owner April 23, 2025 14:29
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes the workflow example to support downloading artifacts by defining and exposing the artifact ID as an output.

  • Added a job-level output for the artifact ID in the upload job
  • Renamed the upload step to "upload-step" and updated its reference in the subsequent step
  • Improved readability with spacing and comments
Comments suppressed due to low confidence (1)

docs/MIGRATION.md:231

  • The step id 'upload-step' is clear in this context; ensure that all related references remain consistent as per the updated output mapping.
id: upload-step

Comment on lines -13 to -17
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is required CI, we can't skip it.

@joshmgross joshmgross merged commit 7745437 into main Apr 24, 2025
11 checks passed
@joshmgross joshmgross deleted the joshmgross/download-by-id-example branch April 24, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants