Skip to content
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

Update to actions/upload-artifact@v4 and actions/download-artifact@v4 #464

Closed
bkeryan opened this issue Dec 14, 2023 · 3 comments · Fixed by #605
Closed

Update to actions/upload-artifact@v4 and actions/download-artifact@v4 #464

bkeryan opened this issue Dec 14, 2023 · 3 comments · Fixed by #605
Assignees

Comments

@bkeryan
Copy link
Collaborator

bkeryan commented Dec 14, 2023

Tech Debt

Starting with actions/upload-artifact@v4, GitHub artifacts are immutable and you cannot upload to the same artifact multiple times.

This repo's GitHub workflows currently use a single test_results artifact to combine results from multiple test jobs. To support actions/upload-artifact@v4, these workflows will need to be updated to use separate artifacts for each job. I don't know how to download a specific group of artifacts without knowing their names, but it looks like we can download all artifacts and then use the ones we care about.

See https://github.com/actions/toolkit/tree/main/packages/artifact for more info.

@bkeryan
Copy link
Collaborator Author

bkeryan commented Dec 14, 2023

When I fix ni/measurement-plugin-python#557 I'll update nidaqmx-python as well.

@bkeryan
Copy link
Collaborator Author

bkeryan commented Jan 18, 2024

Before doing anything here, check actions/upload-artifact#472 for updated guidance on how to solve this.

@bkeryan
Copy link
Collaborator Author

bkeryan commented Jun 25, 2024

Now there is a deprecation schedule: https://github.com/actions/upload-artifact

actions/upload-artifact@v3 is scheduled for deprecation on November 30, 2024. Learn more. Similarly, v1/v2 are scheduled for deprecation on June 30, 2024. Please update your workflow to use v4 of the artifact actions. This deprecation will not impact any existing versions of GitHub Enterprise Server being used by customers.

Also, now there are recommendations on how to update workflows that rely on merging outputs of multiple jobs into the same artifact: https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md

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 a pull request may close this issue.

1 participant