mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-01-17 04:38:18 +01:00
java-22, java-21 default
This commit is contained in:
parent
e8052d086f
commit
404da9b5e5
6
.github/workflows/gradle.yml
vendored
6
.github/workflows/gradle.yml
vendored
@ -15,10 +15,10 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||
java: [21]
|
||||
java: [22]
|
||||
include: # test old java on one os only, upload from ubuntu java-17
|
||||
- os: ubuntu-latest
|
||||
java: 17
|
||||
java: 21
|
||||
upload: true
|
||||
|
||||
steps:
|
||||
@ -30,7 +30,7 @@ jobs:
|
||||
uses: FranzDiebold/github-env-vars-action@v2
|
||||
|
||||
- name: Set up java
|
||||
uses: actions/setup-java@v3.13.0
|
||||
uses: actions/setup-java@v4.2.1
|
||||
with:
|
||||
java-version: ${{ matrix.java }}
|
||||
distribution: zulu
|
||||
|
@ -4,7 +4,7 @@
|
||||
// gradle clean build -PjavacRelease=21
|
||||
// gradle clean build -PcustomVersion=1.0.0-10-asdf
|
||||
val customVersion = (project.findProperty("customVersion") ?: "") as String
|
||||
val javacRelease = (project.findProperty("javacRelease") ?: "17") as String
|
||||
val javacRelease = (project.findProperty("javacRelease") ?: "21") as String
|
||||
|
||||
plugins {
|
||||
id("fr.brouillard.oss.gradle.jgitver") version "0.9.1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user