Skip to content

Commit 2bb5861

Browse files
committed
added java 8 setup to cli release
1 parent 7fa0a27 commit 2bb5861

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-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

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: actions/setup-java@v3
2323
with:
2424
java-version: '8'
25-
distribution: 'temurin' # or 'adopt'
25+
distribution: 'temurin'
2626
- name: Check input
2727
run: |
2828
echo '* input project: "${{ github.event.inputs.project }}"'

0 commit comments

Comments
 (0)