Skip to content

Commit

Permalink
Merge pull request #66 from mbland/bump-github-actions
Browse files Browse the repository at this point in the history
Bump GitHub Actions: setup-java, upload-artifact
  • Loading branch information
mbland committed Dec 19, 2023
2 parents e15d7b5 + 41eafd6 commit 01303b1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/publish-test-results.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,15 @@ jobs:
report:
runs-on: ubuntu-latest
steps:
- name: Download test results
uses: actions/download-artifact@v4
with:
name: test-results

- name: Post test report
uses: dorny/test-reporter@v1
if: always()
with:
artifact: test-results
name: Test Results
path: '**/build/test-results/test*/TESTS-TestSuites.xml'
reporter: java-junit
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
# Per the advice from:
# - https://github.com/marketplace/actions/test-reporter
- name: Upload test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
Expand Down

0 comments on commit 01303b1

Please sign in to comment.