Skip to content

Commit

Permalink
Fix the breaking changes introduced by setup-java
Browse files Browse the repository at this point in the history
  • Loading branch information
abstractj committed Mar 30, 2022
1 parent b097287 commit 8cd2c97
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: ${{ env.DEFAULT_JDK_VERSION }}
- name: Update maven settings
run: mkdir -p ~/.m2 ; cp .github/settings.xml ~/.m2/
Expand Down Expand Up @@ -68,6 +69,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: ${{ env.DEFAULT_JDK_VERSION }}
- name: Update maven settings
run: mkdir -p ~/.m2 ; cp .github/settings.xml ~/.m2/
Expand Down Expand Up @@ -109,6 +111,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: ${{ env.DEFAULT_JDK_VERSION }}
- name: Update maven settings
run: mkdir -p ~/.m2 ; cp .github/settings.xml ~/.m2/
Expand Down Expand Up @@ -183,6 +186,7 @@ jobs:
- uses: actions/setup-java@v2
if: ${{ github.event_name != 'pull_request' || matrix.server != 'undertow-map-hot-rod' || env.GIT_HOTROD_RELEVANT_DIFF != 0 }}
with:
distribution: 'zulu'
java-version: ${{ env.DEFAULT_JDK_VERSION }}
- name: Update maven settings
if: ${{ github.event_name != 'pull_request' || matrix.server != 'undertow-map-hot-rod' || env.GIT_HOTROD_RELEVANT_DIFF != 0 }}
Expand Down Expand Up @@ -250,6 +254,7 @@ jobs:
- uses: actions/setup-java@v2
if: ${{ github.event_name != 'pull_request' || env.GIT_DIFF != 0 }}
with:
distribution: 'zulu'
java-version: ${{ env.DEFAULT_JDK_VERSION }}
- name: Update maven settings
if: ${{ github.event_name != 'pull_request' || env.GIT_DIFF != 0 }}
Expand Down Expand Up @@ -289,6 +294,7 @@ jobs:
- uses: actions/setup-java@v2
if: ${{ github.event_name != 'pull_request' || env.GIT_DIFF != 0 }}
with:
distribution: 'zulu'
java-version: ${{ env.DEFAULT_JDK_VERSION }}
- name: Update maven settings
if: ${{ github.event_name != 'pull_request' || env.GIT_DIFF != 0 }}
Expand Down Expand Up @@ -362,6 +368,7 @@ jobs:
name: keycloak-artifacts.zip
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: ${{ env.DEFAULT_JDK_VERSION }}
- name: Update maven settings
run: mkdir -p ~/.m2 ; cp .github/settings.xml ~/.m2/
Expand Down Expand Up @@ -411,6 +418,7 @@ jobs:
name: keycloak-artifacts.zip
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: ${{ env.DEFAULT_JDK_VERSION }}
- name: Update maven settings
run: mkdir -p ~/.m2 ; cp .github/settings.xml ~/.m2/
Expand Down Expand Up @@ -463,6 +471,7 @@ jobs:

- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 8
- name: Update maven settings
run: mkdir -p ~/.m2 ; cp .github/settings.xml ~/.m2/
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/codeql-java-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'

- name: Update maven settings
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/codeql-js-adapter-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'

- name: Update maven settings
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/codeql-theme-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'

- name: Update maven settings
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/operator-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
run: mkdir -p ~/.m2 ; cp .github/settings.xml ~/.m2/
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: ${{ env.JDK_VERSION }}
- name: Cache Maven packages
id: cache
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-operator-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:

- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: ${{ env.JDK_VERSION }}

- name: Cache Maven packages
Expand Down

0 comments on commit 8cd2c97

Please sign in to comment.