Fix the GitHub workflow
This commit is contained in:
parent
5a58b39b90
commit
ff72990088
1 changed files with 2 additions and 5 deletions
7
.github/workflows/build_and_test.yml
vendored
7
.github/workflows/build_and_test.yml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
|||
- name: Set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 1.8
|
||||
java-version: 14
|
||||
|
||||
- name: Cache Gradle packages
|
||||
uses: actions/cache@v2
|
||||
|
@ -27,11 +27,8 @@ jobs:
|
|||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
|
||||
restore-keys: ${{ runner.os }}-gradle
|
||||
|
||||
- name: Download Minecraft data
|
||||
run: ./gradlew downloadMinecraftData
|
||||
|
||||
- name: Run code generation
|
||||
run: ./gradlew generateAPIFiles
|
||||
run: ./gradlew generate
|
||||
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew build
|
||||
|
|
Reference in a new issue