mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-07-31 19:10:15 +02:00
java-22, java-21 default
This commit is contained in:
6
.github/workflows/gradle.yml
vendored
6
.github/workflows/gradle.yml
vendored
@@ -15,10 +15,10 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||||
java: [21]
|
java: [22]
|
||||||
include: # test old java on one os only, upload from ubuntu java-17
|
include: # test old java on one os only, upload from ubuntu java-17
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
java: 17
|
java: 21
|
||||||
upload: true
|
upload: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -30,7 +30,7 @@ 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.13.0
|
uses: actions/setup-java@v4.2.1
|
||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
distribution: zulu
|
distribution: zulu
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
// gradle clean build -PjavacRelease=21
|
// gradle clean build -PjavacRelease=21
|
||||||
// gradle clean build -PcustomVersion=1.0.0-10-asdf
|
// gradle clean build -PcustomVersion=1.0.0-10-asdf
|
||||||
val customVersion = (project.findProperty("customVersion") ?: "") as String
|
val customVersion = (project.findProperty("customVersion") ?: "") as String
|
||||||
val javacRelease = (project.findProperty("javacRelease") ?: "17") as String
|
val javacRelease = (project.findProperty("javacRelease") ?: "21") as String
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("fr.brouillard.oss.gradle.jgitver") version "0.9.1"
|
id("fr.brouillard.oss.gradle.jgitver") version "0.9.1"
|
||||||
|
Reference in New Issue
Block a user