From b8be6e4afeebd0ee07006c3bb1e8228795206ed8 Mon Sep 17 00:00:00 2001 From: Thomas Darimont Date: Wed, 12 Jul 2023 21:54:40 +0200 Subject: [PATCH] Try to fix conditional matrix build --- .github/workflows/ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 03e1b0c06..802ef28d0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -49,7 +49,7 @@ jobs: restore-keys: ${{ runner.os }}-maven-${{ matrix.env.KEYCLOAK_VERSION }} - name: Adjust sources for Keycloak Versions < 22.0.0 - if: matrix.env.KEYCLOAK_VERSION < "22.0.0" + if: ${{ matrix.env.KEYCLOAK_VERSION < "22.0.0" }} run: | find . -name "*.java" -type f -print0 | xargs -0 sed -i 's/jakarta.ws./javax.ws./g'; echo "RESTEASY_BACKPORT=-Dresteasy.version=4.7.7.Final" >> $GITHUB_ENV @@ -158,7 +158,7 @@ jobs: restore-keys: ${{ runner.os }}-${{ matrix.java }}-maven-build-pom - name: Adjust sources for Keycloak Versions < 22.0.0 - if: matrix.env.KEYCLOAK_VERSION < "22.0.0" + if: ${{ matrix.env.KEYCLOAK_VERSION < "22.0.0" }} run: | find . -name "*.java" -type f -print0 | xargs -0 sed -i 's/jakarta.ws./javax.ws./g'; echo "RESTEASY_BACKPORT=-Dresteasy.version=4.7.7.Final" >> $GITHUB_ENV @@ -191,7 +191,7 @@ jobs: ${{ runner.os }}-maven-keycloak-legacy - name: Adjust sources for Keycloak Versions < 22.0.0 - if: matrix.env.KEYCLOAK_VERSION < "22.0.0" + if: ${{ matrix.env.KEYCLOAK_VERSION < "22.0.0" }} run: | find . -name "*.java" -type f -print0 | xargs -0 sed -i 's/jakarta.ws./javax.ws./g'; echo "RESTEASY_BACKPORT=-Dresteasy.version=4.7.7.Final" >> $GITHUB_ENV