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

GitHub actions: Version up deprecated upload-artifact and download-artifact REDUX #411

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

jonathan-r-thorpe
Copy link
Contributor

In the make_badges action, the download-artifact action is not downloading the test results.

This is due to the download-artifact being at v4 but the upload-artifact only being bumped to v3 due to Node20 not being supported "out of the box" on the Ubuntu 14.04.

According the https://github.com/actions/download-artifact one breaking change of the v4 of download-artifact is "Downloading artifacts that were created from action/upload-artifact@v3 and below are not supported".

For this reason v3 artifacts were being ignored by the v4 download-artifact action, and make_badges was failing.

So this PR downgrades download-artifact to v3.

However this is a short term solution as v3 of the download-artifacts and upload-artifacts will be deprecated from Nov 24.
Therefore we need to either:

  • Work out how to install Node20 on Ubuntu 14.04
  • Exclude Ubuntu 14.04 from the make_badges process

Copy link
Contributor

@lo-simon lo-simon left a comment

Choose a reason for hiding this comment

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

LGTM

@lo-simon lo-simon merged commit 067b424 into master Oct 11, 2024
22 checks passed
@jonathan-r-thorpe jonathan-r-thorpe deleted the downgrade-download-action branch October 11, 2024 10:42
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.

2 participants