Skip to content

Commit 8aefa0f

Browse files
committed
Upgrade actions versions
1 parent 3d4626c commit 8aefa0f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,20 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v2.3.4
17+
- uses: actions/checkout@v2
1818
with:
1919
fetch-depth: 0
20-
- uses: actions/cache@v2.1.6
20+
- uses: actions/cache@v2
2121
with:
2222
path: ~/.m2/repository
2323
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
2424
restore-keys: |
2525
${{ runner.os }}-maven-
2626
- name: Set up JDK 11
27-
uses: actions/setup-java@v1
27+
uses: actions/setup-java@v2
2828
with:
29-
java-version: 11
29+
distribution: 'temurin'
30+
java-version: '11'
3031
- name: Build with Maven
3132
run: ./mvnw -B clean verify javadoc:javadoc --file pom.xml
3233
- name: Sonar Analysis

0 commit comments

Comments
 (0)