mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-06 02:40:23 -08:00
Upgraded to Gradle 7 & JDK 16
This commit is contained in:
parent
b58e64ea16
commit
3ad16ab8aa
12 changed files with 36 additions and 52 deletions
4
.github/workflows/deployment.yml
vendored
4
.github/workflows/deployment.yml
vendored
|
|
@ -11,10 +11,10 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 14
|
||||
- name: Set up JDK 16
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 14
|
||||
java-version: 16
|
||||
- name: Set env
|
||||
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
||||
- name: Add Arc release
|
||||
|
|
|
|||
4
.github/workflows/pr.yml
vendored
4
.github/workflows/pr.yml
vendored
|
|
@ -8,10 +8,10 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 14
|
||||
- name: Set up JDK 16
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 14
|
||||
java-version: 16
|
||||
- name: Run unit tests and build JAR
|
||||
run: ./gradlew test desktop:dist
|
||||
- name: Upload desktop JAR for testing
|
||||
|
|
|
|||
4
.github/workflows/push.yml
vendored
4
.github/workflows/push.yml
vendored
|
|
@ -17,9 +17,9 @@ jobs:
|
|||
git tag ${BNUM}
|
||||
git config --global user.name "Build Uploader"
|
||||
git push https://Anuken:${{ secrets.API_TOKEN_GITHUB }}@github.com/Anuken/MindustryBuilds ${BNUM}
|
||||
- name: Set up JDK 14
|
||||
- name: Set up JDK 16
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 14
|
||||
java-version: 16
|
||||
- name: Run unit tests
|
||||
run: ./gradlew clean cleanTest test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue