janusgraph icon indicating copy to clipboard operation
janusgraph copied to clipboard

Bump actions/upload-artifact from 3 to 4

Open dependabot[bot] opened this issue 2 years ago • 2 comments

Bumps actions/upload-artifact from 3 to 4.

Release notes

Sourced from actions/upload-artifact's releases.

v4.0.0

What's Changed

The release of upload-artifact@v4 and download-artifact@v4 are major changes to the backend architecture of Artifacts. They have numerous performance and behavioral improvements.

For more information, see the @​actions/artifact documentation.

New Contributors

Full Changelog: https://github.com/actions/upload-artifact/compare/v3...v4.0.0

v3.1.3

What's Changed

Full Changelog: https://github.com/actions/upload-artifact/compare/v3...v3.1.3

v3.1.2

  • Update all @actions/* NPM packages to their latest versions- #374
  • Update all dev dependencies to their most recent versions - #375

v3.1.1

  • Update actions/core package to latest version to remove set-output deprecation warning #351

v3.1.0

What's Changed

Commits

Dependabot compatibility score

You 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)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

dependabot[bot] avatar Dec 15 '23 11:12 dependabot[bot]

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. This seems to be caused by jacoco as we have multiple times the same config to upload reports like this:

      - 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.)

FlorianHockmann avatar Dec 20 '23 15:12 FlorianHockmann

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

li-boxuan avatar Dec 20 '23 17:12 li-boxuan

I am not sure if this is the right approach, but probably something like this might work:

I updated the commit to try out your suggestion. Let's see whether this fixes the failing builds.

FlorianHockmann avatar Apr 03 '24 12:04 FlorianHockmann

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 args, but the args also contain invalid characters if we wanted to use them as an artifact name. I'll merge this after 7 days if nobody reviews it until then.

FlorianHockmann avatar Apr 17 '24 08:04 FlorianHockmann

💚 All backports created successfully

Status Branch Result
v1.0

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

janusgraph-automations avatar Apr 19 '24 07:04 janusgraph-automations