mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-06 05:47:29 +02:00
github build with java-21, upload with java-17. build.sh should not test, people run it sometimes to build.
This commit is contained in:
8
.github/workflows/gradle.yml
vendored
8
.github/workflows/gradle.yml
vendored
@@ -15,8 +15,8 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||||
java: [20]
|
java: [21]
|
||||||
include: # test newest java on one os only, upload from ubuntu java11
|
include: # test old java on one os only, upload from ubuntu java-17
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
java: 17
|
java: 17
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
@@ -31,10 +31,10 @@ jobs:
|
|||||||
uses: FranzDiebold/github-env-vars-action@v2
|
uses: FranzDiebold/github-env-vars-action@v2
|
||||||
|
|
||||||
- name: Set up java
|
- name: Set up java
|
||||||
uses: actions/setup-java@v3.0.0
|
uses: actions/setup-java@v3.13.0
|
||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
distribution: temurin
|
distribution: zulu
|
||||||
cache: gradle
|
cache: gradle
|
||||||
|
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
|
@@ -1,2 +1 @@
|
|||||||
./gradlew clean build -x test
|
./gradlew clean build -x test
|
||||||
./gradlew testAll
|
|
||||||
|
Reference in New Issue
Block a user