Skip to content

Commit

Permalink
Bump actions/upload-artifact from 3 to 4
Browse files Browse the repository at this point in the history
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
...

Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
dependabot[bot] authored Dec 15, 2023
1 parent 24d2c6d commit 4cad674
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/javaTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
echo "ARTIFACT_NAME=$ARTIFACT_NAME" >> $GITHUB_ENV
- name: Save Java Test Coverage as Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARTIFACT_NAME }}
path: target/jacoco.exec
Expand Down Expand Up @@ -142,23 +142,23 @@ jobs:

- name: Upload Jacoco Report Artifact PR
if: (github.repository_owner == 'apache') && (github.ref_name != 'main')
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Java Code Coverage (Jacoco)
path: target/site/jacoco
retention-days: 7

- name: Upload Jacoco Report Artifact Main
if: (github.repository_owner == 'apache') && (github.ref_name == 'main')
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Java Code Coverage (Jacoco)
path: target/site/jacoco
retention-days: 30

- name: Upload Jacoco Report Artifact Fork
if: (github.repository_owner != 'apache')
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Java Code Coverage (Jacoco)
path: target/site/jacoco
Expand Down

0 comments on commit 4cad674

Please sign in to comment.