Skip to content

Commit

Permalink
support java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
dehall committed Dec 28, 2021
1 parent 9f5ff46 commit 0f77065
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@ on: [push, pull_request]
jobs:
check_java_latest:
runs-on: ubuntu-latest
name: Java 16
name: Java 17

steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 16
java-version: 17

- name: Gradle cache
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-jdk16-${{ hashFiles('**/*.gradle*') }}
key: ${{ runner.os }}-gradle-jdk17-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-jdk16
${{ runner.os }}-gradle-jdk17
- name: Compile with Gradle
run: ./gradlew assemble
Expand All @@ -30,8 +30,8 @@ jobs:
if: env.SLACK_WEBHOOK_URL
with:
status: custom
job_name: Java 16
author_name: Java 16 Build
job_name: Java 17
author_name: Java 17 Build
fields: workflow,commit,repo,author,took
# see https://action-slack.netlify.app/usecase/02-custom for custom payload info
custom_payload: |
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 0f77065

Please sign in to comment.