Skip to content

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

Merged
Fabien-Chouteau merged 3 commits into
alire-project:masterfrom
Seb-MCaw:fix/upload-artifact-version
Sep 10, 2024
Merged

Fix CI using deprecated version of actions/upload-artifact#1756
Fabien-Chouteau merged 3 commits into
alire-project:masterfrom
Seb-MCaw:fix/upload-artifact-version

Conversation

@Seb-MCaw

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

Copy link
Copy Markdown
Contributor

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
Comment thread .github/workflows/ci-appimage.yml Outdated
- name: Upload logs (if failed)
if: failure()
uses: actions/upload-artifact@master
uses: actions/upload-artifact@main

Copy link
Copy Markdown
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
Copy Markdown
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
@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