Skip to content

Commit 3bd3756

Browse files
[Backport 2.x] Fix github action (#1210)
1 parent 13f6327 commit 3bd3756

5 files changed

+15
-6
lines changed

.github/workflows/bwc-test-workflow.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ jobs:
1414
steps:
1515
# This step uses the setup-java Github action: https://github.com/actions/setup-java
1616
- name: Set Up JDK
17-
uses: actions/setup-java@v1
17+
uses: actions/setup-java@v2
1818
with:
19-
java-version: 17
19+
distribution: temurin # Temurin is a distribution of adoptium
20+
java-version: 21
2021
# index-management
2122
- name: Checkout Branch
2223
uses: actions/checkout@v2

.github/workflows/docker-security-test-workflow.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Set Up JDK
16-
uses: actions/setup-java@v1
16+
uses: actions/setup-java@v2
1717
with:
18-
java-version: 17
18+
distribution: temurin # Temurin is a distribution of adoptium
19+
java-version: 21
1920
- name: Checkout Branch
2021
uses: actions/checkout@v2
2122
- name: Build Index Management

.github/workflows/multi-node-test-workflow.yml

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
push:
88
branches:
99
- "**"
10+
env:
11+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
1012

1113
jobs:
1214
Get-CI-Image-Tag:

.github/workflows/security-test-workflow.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
push:
88
branches:
99
- "**"
10+
env:
11+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
1012

1113
jobs:
1214
Get-CI-Image-Tag:
@@ -28,9 +30,10 @@ jobs:
2830
steps:
2931
# This step uses the setup-java Github action: https://github.com/actions/setup-java
3032
- name: Set Up JDK
31-
uses: actions/setup-java@v1
33+
uses: actions/setup-java@v2
3234
with:
33-
java-version: 17
35+
distribution: temurin # Temurin is a distribution of adoptium
36+
java-version: 21
3437
# index-management
3538
- name: Checkout Branch
3639
uses: actions/checkout@v2

.github/workflows/test-and-build-workflow.yml

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
push:
77
branches:
88
- "**"
9+
env:
10+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
911

1012
jobs:
1113
Get-CI-Image-Tag:

0 commit comments

Comments
 (0)