forked from MirrorHub/authlib-injector
build with jdk 17
This commit is contained in:
parent
cda44078a5
commit
97fbb3e0c0
4 changed files with 15 additions and 11 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -11,12 +11,14 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup JDK 8
|
||||
uses: actions/setup-java@v1
|
||||
- name: Setup JDK
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 8
|
||||
distribution: temurin
|
||||
java-version: 17
|
||||
cache: gradle
|
||||
|
||||
- name: Build
|
||||
run: ./gradlew
|
||||
|
@ -25,6 +27,6 @@ jobs:
|
|||
run: ./gradlew test
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
path: build/libs/*
|
||||
|
|
10
.github/workflows/create_release.yml
vendored
10
.github/workflows/create_release.yml
vendored
|
@ -66,14 +66,16 @@ jobs:
|
|||
Build number: ${{ steps.parse_pr.outputs.build_number }}
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ steps.parse_pr.outputs.commit }}
|
||||
|
||||
- name: Setup JDK 8
|
||||
uses: actions/setup-java@v1
|
||||
- name: Setup JDK
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 8
|
||||
distribution: temurin
|
||||
java-version: 17
|
||||
cache: gradle
|
||||
|
||||
- id: build
|
||||
name: Build
|
||||
|
|
|
@ -14,7 +14,7 @@ authlib-injector enables you to build a Minecraft authentication system offering
|
|||
You can download the latest authlib-injector build from [here](https://authlib-injector.yushi.moe/).
|
||||
|
||||
## Build
|
||||
Dependencies: Gradle, JDK 8+
|
||||
Dependencies: Gradle, JDK 17+. The target Java platform version is 8.
|
||||
|
||||
Run:
|
||||
```
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
您可以从[这里](https://authlib-injector.yushi.moe/)获取最新的 authlib-injector。
|
||||
|
||||
## 构建
|
||||
构建依赖:Gradle、JDK 8+。
|
||||
构建依赖:Gradle、JDK 17+(目标 Java 版本为 8)。
|
||||
|
||||
执行以下命令:
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue