Skip to content
This repository was archived by the owner on Apr 24, 2024. It is now read-only.

Commit 417c757

Browse files
fix: Github Action workflow
1 parent 44e3a36 commit 417c757

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,19 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v1
17-
- name: Prepare repository
18-
run: git checkout "${GITHUB_REF:11}"
19-
- name: Setup Java environment based on AdoptOpenJDK
20-
uses: joschi/[email protected]
16+
- uses: actions/checkout@v2
17+
18+
- name: Setup Java 14
19+
uses: joschi/setup-jdk@v2
2120
with:
22-
java-version: openjdk11
23-
openjdk_impl: openj9
21+
java-version: '14'
22+
2423
- name: Compile
2524
run: ./gradlew classes
25+
2626
- name: Test
2727
run: ./gradlew test
28+
2829
- name: Analyse
2930
if: github.ref == 'refs/heads/master'
3031
run: ./gradlew sonarqube -Dsonar.login=${{ secrets.SONAR_LOGIN }} -Djgitver.branch=${GITHUB_REF:11}

0 commit comments

Comments
 (0)