Set java version to 17 for pull request workflow
This commit is contained in:
parent
fcf9bc6cd3
commit
619c243b8f
1 changed files with 5 additions and 1 deletions
6
.github/workflows/pull-request.yml
vendored
6
.github/workflows/pull-request.yml
vendored
|
@ -12,12 +12,16 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 17
|
||||
- name: Validate Gradle Wrapper
|
||||
uses: gradle/wrapper-validation-action@v1
|
||||
- name: Build with Gradle
|
||||
uses: gradle/gradle-build-action@v2
|
||||
with:
|
||||
arguments: build
|
||||
arguments: --stacktrace build
|
||||
- name: Publish JUnit Results
|
||||
uses: dorny/test-reporter@v1
|
||||
if: always()
|
||||
|
|
Loading…
Reference in a new issue