From 5f1f632bd0af1c067c5c855497eceae6e4e31bf6 Mon Sep 17 00:00:00 2001 From: samolego <34912839+samolego@users.noreply.github.com> Date: Wed, 17 Nov 2021 21:52:47 +0100 Subject: [PATCH] Update java --- .github/workflows/fabric-build.yml | 2 +- .github/workflows/fabric-release.yml | 2 +- .github/workflows/forge-build.yml | 2 +- .github/workflows/forge-release.yml | 2 +- .github/workflows/javadoc.yml | 4 ++-- .github/workflows/maven-publish.yml | 2 +- jitpack.yml | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/fabric-build.yml b/.github/workflows/fabric-build.yml index 4535cb369..1c7f34a62 100644 --- a/.github/workflows/fabric-build.yml +++ b/.github/workflows/fabric-build.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: # Use these Java versions - java: [16] # Latest version + java: [17] # Latest version # and run on both Linux and Windows os: [ubuntu-20.04, windows-latest] runs-on: ${{ matrix.os }} diff --git a/.github/workflows/fabric-release.yml b/.github/workflows/fabric-release.yml index 23ea0ff31..64eadd59e 100644 --- a/.github/workflows/fabric-release.yml +++ b/.github/workflows/fabric-release.yml @@ -26,7 +26,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: 16 + java-version: 17 - name: Grant execute permission for gradlew run: chmod +x gradlew diff --git a/.github/workflows/forge-build.yml b/.github/workflows/forge-build.yml index 93d8bd1f1..a733ae9af 100644 --- a/.github/workflows/forge-build.yml +++ b/.github/workflows/forge-build.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: # Use these Java versions - java: [16] # Latest version + java: [17] # Latest version # and run on both Linux and Windows os: [ubuntu-20.04, windows-latest] runs-on: ${{ matrix.os }} diff --git a/.github/workflows/forge-release.yml b/.github/workflows/forge-release.yml index 80b7f2d32..7a9e11445 100644 --- a/.github/workflows/forge-release.yml +++ b/.github/workflows/forge-release.yml @@ -26,7 +26,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: 16 + java-version: 17 - name: Grant execute permission for gradlew run: chmod +x gradlew diff --git a/.github/workflows/javadoc.yml b/.github/workflows/javadoc.yml index 36377689b..dbd351dec 100644 --- a/.github/workflows/javadoc.yml +++ b/.github/workflows/javadoc.yml @@ -16,10 +16,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 1.8 + - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: 16 + java-version: 17 - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 69bfc3234..d0eb72466 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -13,7 +13,7 @@ jobs: - name: Set up JDK 1.8 uses: actions/setup-java@v1 with: - java-version: 16 + java-version: 17 - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle diff --git a/jitpack.yml b/jitpack.yml index 43a32b6bd..41bfdd6b4 100644 --- a/jitpack.yml +++ b/jitpack.yml @@ -1,3 +1,3 @@ before_install: - wget https://github.com/sormuras/bach/raw/master/install-jdk.sh - - source install-jdk.sh --feature 16 + - source install-jdk.sh --feature 17