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

ci: update upload-artifact@v3 to upload-artifact@v4 #1641

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

chewitt
Copy link
Member

@chewitt chewitt commented Feb 17, 2024

This should silence the following warnings during workflow runs:

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Copy link

@prplex prplex bot left a comment

Choose a reason for hiding this comment

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

Review completed. Posted 4 comments.

.github/workflows/build-cloudsmith.yml Show resolved Hide resolved
.github/workflows/build-cloudsmith.yml Show resolved Hide resolved
.github/workflows/build-cloudsmith.yml Show resolved Hide resolved
.github/workflows/build-cloudsmith.yml Show resolved Hide resolved
@chewitt chewitt changed the title ci: udpate upload-artifact@v3 to upload-artifact@v4 ci: update upload-artifact@v3 to upload-artifact@v4 Feb 17, 2024
@Flole998
Copy link
Member

IIRC I saw these (or similar) issues when initially setting up GH actions, so I went with the older version. It needs to be addressed at some point though.

@chewitt
Copy link
Member Author

chewitt commented Feb 18, 2024

One of the v3 > v4 differences is not allowing the same file to be uploaded more than once, so I think we might have some name collisions taking place. If yes, the solution will be to tweak the artefact naming.

@Flole998
Copy link
Member

If it's the name field, then yes, we have a huge deb and a not so huge rpm zip artifact. That should probably be improved/changed.

@Flole998
Copy link
Member

IIRC I saw these (or similar) issues when initially setting up GH actions, so I went with the older version. It needs to be addressed at some point though.

I just looked it up again: That was for the checkout action, not for upload artifact.

@chewitt
Copy link
Member Author

chewitt commented Feb 18, 2024

I'll investigate in the week. I still have relatives in-town so not much time for reading GitHub docs at the moment :)

@Flole998
Copy link
Member

I'd guess all that's needed is adding a variable to the name for the architecture. Just a guess though and the docs should clear that up. No need to rush though.

Copy link

sonarcloud bot commented Feb 21, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@Flole998
Copy link
Member

You'll probably need to add the architecture to it somehow, otherwise i386 and x64 are conflicting again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants