Skip to content

Commit

Permalink
Bump actions/upload-artifact to v4 (#279)
Browse files Browse the repository at this point in the history
* Bump actions/upload-artifact to v4

* Fix if condition

* Fix another if condition
  • Loading branch information
reakaleek authored Sep 11, 2024
1 parent aa5b69a commit e4b8070
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
with:
command: ./mvnw ${{ matrix.goal }}
- name: Store test results
if: ${{ matrix.goal == 'test' }} && (success() || failure())
uses: actions/upload-artifact@v3
if: matrix.goal == 'test' && (success() || failure())
uses: actions/upload-artifact@v4
with:
name: test-results
path: '**/target/surefire-reports'
- uses: actions/upload-artifact@v3
if: contains(${{ matrix.goal }}, 'license')
- uses: actions/upload-artifact@v4
if: contains(matrix.goal, 'license')
with:
name: license-report
path: target/site/aggregate-third-party-report.html

0 comments on commit e4b8070

Please sign in to comment.