Skip to content

Commit

Permalink
Try to fix conditional matrix build
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasdarimont committed Jul 12, 2023
1 parent f5d4db6 commit b8be6e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b8be6e4

Please sign in to comment.