Skip to content

Commit a83ee29

Browse files
authored
Update Github actions
1 parent 0a2903b commit a83ee29

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/maven.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ jobs:
1414
matrix:
1515
java: [ 7, 8, 9, 10, 11]
1616
steps:
17-
- uses: actions/checkout@v2.1.0
17+
- uses: actions/checkout@v2
1818
- name: Set up JDK ${{ matrix.java }}
19-
uses: actions/setup-java@v1.3.0
19+
uses: actions/setup-java@v2
2020
with:
21+
distribution: 'zulu'
2122
java-version: ${{ matrix.java }}
2223
- name: Build with Maven
2324
run: mvn -B clean package
@@ -26,10 +27,11 @@ jobs:
2627
needs: build
2728
runs-on: ubuntu-latest
2829
steps:
29-
- uses: actions/checkout@v2.1.0
30+
- uses: actions/checkout@v2
3031
- name: Set up JDK 1.8
31-
uses: actions/setup-java@v1.3.0
32+
uses: actions/setup-java@v2
3233
with:
34+
distribution: 'zulu'
3335
java-version: 1.8
3436
- name: Build with Maven
3537
run: mvn -B clean cobertura:cobertura coveralls:report -DrepoToken=${{ secrets.COVERALLS_TOKEN }}

0 commit comments

Comments
 (0)