Skip to content

Commit f3fa52e

Browse files
authored
chore: explicitly state we should use java 8 in github prepare release action (#4356)
* chore: explicitly state we should use java 8 in github action * added java 8 setup to cli release
1 parent c87a744 commit f3fa52e

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/jib-cli-release.yml

+6
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ jobs:
1818
- name: Check out code
1919
uses: actions/checkout@v4
2020

21+
- name: Set up JDK 8
22+
uses: actions/setup-java@v3
23+
with:
24+
java-version: '8'
25+
distribution: 'temurin'
26+
2127
- name: Build project
2228
run: |
2329
if [[ ! "${{ github.event.inputs.release_version }}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then

.github/workflows/prepare-release.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ jobs:
1818
steps:
1919
- name: Check out code
2020
uses: actions/checkout@v4
21-
21+
- name: Set up JDK 8
22+
uses: actions/setup-java@v3
23+
with:
24+
java-version: '8'
25+
distribution: 'temurin'
2226
- name: Check input
2327
run: |
2428
echo '* input project: "${{ github.event.inputs.project }}"'

0 commit comments

Comments
 (0)