Update action versions.
@@ -12,8 +12,8 @@ jobs:
java: [ 8, 11, 17, 19 ]
runs-on: ${{ matrix.os }}
steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-java@v2
+ - uses: actions/checkout@v3
+ - uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
@@ -22,7 +22,7 @@ jobs:
- name: Run Tests
run: mvn test
- name: Publish Test Report
- uses: mikepenz/action-junit-report@v2
+ uses: mikepenz/action-junit-report@v3
if: ${{ !cancelled() }}
with:
report_paths: "**/target/surefire-reports/TEST*.xml"
@@ -35,11 +35,11 @@ jobs:
matrix:
kcms: [ true, false ]
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- run: |
download_url="https://javadl.oracle.com/webapps/download/AutoDL?BundleId=245038_d3c52aa6bfa54d3ca74e617f18309292"
wget -O $RUNNER_TEMP/java_package.tar.gz $download_url
- - uses: actions/setup-java@v2
+ - uses: actions/setup-java@v3
with:
distribution: 'jdkfile'
jdkFile: ${{ runner.temp }}/java_package.tar.gz
@@ -54,7 +54,7 @@ jobs:
- name: Run Tests
run: mvn test
- name: Publish Test Report
- uses: mikepenz/action-junit-report@v2
+ uses: mikepenz/action-junit-report@v3
if: ${{ !cancelled() }}
with:
report_paths: "**/target/surefire-reports/TEST*.xml"
@@ -66,9 +66,9 @@ jobs:
if: github.ref == 'refs/heads/master' # only perform on latest master
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Set up Maven Central
- uses: actions/setup-java@v2
+ uses: actions/setup-java@v3
with: # running setup-java again overwrites the settings.xml
distribution: 'temurin'
java-version: '8'
