Update workflow java version to 11
This commit is contained in:
committed by
Jannis Mattheis
parent
2dc30aff6f
commit
fb75e2adae
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-java@v1
|
- uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
java-version: 1.8
|
java-version: 11
|
||||||
- if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
|
- if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
|
||||||
run: ./gradlew build --stacktrace
|
run: ./gradlew build --stacktrace
|
||||||
- if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
- if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user