1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-01-16 12:18:41 +01: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:
soloturn 2023-09-29 06:29:39 +02:00
parent f69943f2f4
commit ef884f044b
3 changed files with 4 additions and 6 deletions

View File

@ -15,8 +15,8 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
java: [20]
include: # test newest java on one os only, upload from ubuntu java11
java: [21]
include: # test old java on one os only, upload from ubuntu java-17
- os: ubuntu-latest
java: 17
- os: ubuntu-latest
@ -31,10 +31,10 @@ jobs:
uses: FranzDiebold/github-env-vars-action@v2
- name: Set up java
uses: actions/setup-java@v3.0.0
uses: actions/setup-java@v3.13.0
with:
java-version: ${{ matrix.java }}
distribution: temurin
distribution: zulu
cache: gradle
- name: Build with Gradle

View File

@ -1,2 +1 @@
./gradlew clean build -x test
./gradlew testAll

View File

@ -1,3 +1,2 @@
#!/usr/bin/env bash
./gradlew clean build -x test
./gradlew testAll