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

Fix CI using deprecated version of actions/upload-artifact #1756

Merged

Conversation

Seb-MCaw
Copy link
Contributor

@Seb-MCaw Seb-MCaw commented Sep 9, 2024

Fixes errors like this one due to actions/upload-artifact@v1 and actions/upload-artifact@v2 being deprecated.

All references have been changed to actions/upload-artifact@v4.

@Seb-MCaw Seb-MCaw changed the title Fix CI using deprecated version of actions/upload-artifac Fix CI using deprecated version of actions/upload-artifact Sep 9, 2024
@Seb-MCaw Seb-MCaw marked this pull request as ready for review September 9, 2024 10:12
@@ -48,7 +48,7 @@ jobs:

- name: Upload logs (if failed)
if: failure()
uses: actions/upload-artifact@master
uses: actions/upload-artifact@main
Copy link
Member

Choose a reason for hiding this comment

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

Why no actions/upload-artifact@v3 or actions/upload-artifact@v4 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@main is the approach already used elsewhere, and will avoid the need for further changes if there are future deprecations (which I assumed was the justification).

I have just changed them all to @v4 (@v3 will be deprecated in November), which I agree is the recommended approach.

@Fabien-Chouteau Fabien-Chouteau merged commit de0b750 into alire-project:master Sep 10, 2024
26 checks passed
@Seb-MCaw Seb-MCaw deleted the fix/upload-artifact-version branch September 10, 2024 08:30
mosteo pushed a commit to mosteo/alire that referenced this pull request Oct 8, 2024
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