Skip to content

Commit

Permalink
Bump actions/upload-artifact from 3 to 4 (#1962)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Dec 28, 2023
1 parent d01c61d commit 7f795ae
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 @@ -106,7 +106,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 @@ -146,23 +146,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 7f795ae

Please sign in to comment.