-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Bump actions/upload-artifact from 3 to 4 #4184
Bump actions/upload-artifact from 3 to 4 #4184
Conversation
Looks like there was a breaking change which now breaks our builds. Seems like we're creating multiple times an artifact with the same name which isn't allowed any more in v4: actions/upload-artifact#471. - uses: actions/upload-artifact@v3
with:
name: jacoco-reports
path: target/jacoco-combined.exec I haven't looked further into this and I also don't know how jacoco works so I can't say whether we can simply change the name here or how else we can deal with this. (Just wanted to write my findings down so far in case any one else also wants to look into it.) |
I am not sure if this is the right approach, but probably something like this might work: - uses: actions/upload-artifact@v4
with:
name: jacoco-reports-${{ matrix.module }}-java-${{ matrix.java }}
path: target/jacoco-combined.exec |
432c449
to
64a1adc
Compare
I updated the commit to try out your suggestion. Let's see whether this fixes the failing builds. |
f3c1b68
to
395b9ae
Compare
c570606
to
9bd153d
Compare
OK, this took me several attempts to fix it for all cases, but now all builds are green and this is therefore ready for review again. I had to rename some elements of a matrix to get unique names as they could only be identified by their |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for taking care of this. Just two minor nits:
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Use different names for the artifacts as required by upload-artifact@v4. Signed-off-by: dependabot[bot] <[email protected]>
9bd153d
to
95fa166
Compare
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
Bumps actions/upload-artifact from 3 to 4.
Release notes
Sourced from actions/upload-artifact's releases.
Commits
c7d193f
Merge pull request #466 from actions/v4-beta13131bb
licensed cache4a6c273
Merge branch 'main' into v4-betaf391bb9
Merge pull request #465 from actions/robherley/v4-documentation9653d03
Apply suggestions from code review875b630
add limitations sectionecb2146
add compression example5e7604f
trim some repeated infod6437d0
naming1b56155
s/v4-beta/v4/gYou can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)