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: raise upload-artifact + download-artifact to v4 #281

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

mika
Copy link
Member

@mika mika commented Aug 14, 2024

Fixes:

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

Related to #278

Thanks: Darshaka Pathirana

Fixes:

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

Related to #278

Thanks: Darshaka Pathirana
@mika mika requested review from zeha and jkirk August 14, 2024 14:57
Copy link
Member

@evgeni evgeni left a comment

Choose a reason for hiding this comment

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

Is the matrix release somewhere part of the .deb name? V4 fails if you try to upload the same filename twice

Copy link
Member

@evgeni evgeni left a comment

Choose a reason for hiding this comment

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

Ah, just realized the release name is part of the artifact bame

@mika
Copy link
Member Author

mika commented Aug 14, 2024

Is the matrix release somewhere part of the .deb name? V4 fails if you try to upload the same filename twice

Uh thanks for the pointer! We have:

     - name: Archive built .deb
      uses: actions/upload-artifact@v4
       with:
         name: deb-${{matrix.host_release}}
[...]
     - name: Download built deb
      uses: actions/download-artifact@v4
       with:
         name: deb-${{matrix.host_release}}
[...]
     - name: Archive VM test results
      uses: actions/upload-artifact@v4
       with:
         name: vm-results-${{matrix.host_release}}-${{matrix.release}}-${{matrix.debootstrap}}

I suppose this should be "safe" then?

Copy link
Member

@zeha zeha left a comment

Choose a reason for hiding this comment

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

ok once the ci jobs (that are known to pass) pass

@mika mika merged commit 4c31c18 into master Aug 16, 2024
58 of 78 checks passed
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