aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2023-04-15 19:33:07 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2023-04-15 19:33:07 +0200
commit2731c799e31d19a801142cd99460da45ae2e368f (patch)
tree5e494210972630bd37f4d61b1c9f1dcadb0cd80f /.github/workflows/build.yml
parentrefactor: remove virtual thread support (diff)
downloadrefinery-2731c799e31d19a801142cd99460da45ae2e368f.tar.gz
refinery-2731c799e31d19a801142cd99460da45ae2e368f.tar.zst
refinery-2731c799e31d19a801142cd99460da45ae2e368f.zip
chore(deps): downgrade to Java 17
Java 19 is out of support, but Gradle current does not run on Java 20: https://github.com/gradle/gradle/issues/23488 To avoid the complexity of running the build tool on a different JDK than the application, we temporarily remove code that depends on experimental Java 19 or Java 20 features. Revert once the build can run on Java 20.
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index eecb62c1..6138fad1 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -27,10 +27,10 @@ jobs:
27 uses: actions/checkout@v3 27 uses: actions/checkout@v3
28 with: 28 with:
29 fetch-depth: ${{ !steps.check-secret.outputs.is_SONAR_TOKEN_set && 1 || 0 }} # Shallow clones should be disabled for a better relevancy of SonarCloud analysis 29 fetch-depth: ${{ !steps.check-secret.outputs.is_SONAR_TOKEN_set && 1 || 0 }} # Shallow clones should be disabled for a better relevancy of SonarCloud analysis
30 - name: Set up JDK 19 30 - name: Set up JDK 17
31 uses: actions/setup-java@v3 31 uses: actions/setup-java@v3
32 with: 32 with:
33 java-version: 19 33 java-version: 17
34 distribution: temurin 34 distribution: temurin
35 - name: Cache Gradle packages 35 - name: Cache Gradle packages
36 uses: actions/cache@v3 36 uses: actions/cache@v3