Skip to content

Commit e4b8070

Browse files
authored
Bump actions/upload-artifact to v4 (#279)
* Bump actions/upload-artifact to v4 * Fix if condition * Fix another if condition
1 parent aa5b69a commit e4b8070

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ jobs:
3535
with:
3636
command: ./mvnw ${{ matrix.goal }}
3737
- name: Store test results
38-
if: ${{ matrix.goal == 'test' }} && (success() || failure())
39-
uses: actions/upload-artifact@v3
38+
if: matrix.goal == 'test' && (success() || failure())
39+
uses: actions/upload-artifact@v4
4040
with:
4141
name: test-results
4242
path: '**/target/surefire-reports'
43-
- uses: actions/upload-artifact@v3
44-
if: contains(${{ matrix.goal }}, 'license')
43+
- uses: actions/upload-artifact@v4
44+
if: contains(matrix.goal, 'license')
4545
with:
4646
name: license-report
4747
path: target/site/aggregate-third-party-report.html

0 commit comments

Comments
 (0)