Skip to content

Commit 0233fff

Browse files
authored
Fix wrong JDK version when publish Docker snapshot (#446)
1 parent 6226667 commit 0233fff

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/publish-docker.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ jobs:
4141
path: ~/.m2/repository
4242
key: ${{ runner.os }}-maven-publish-docker-${{ hashFiles('**/pom.xml') }}
4343
restore-keys: ${{ runner.os }}-maven-publish-docker-
44+
- uses: actions/setup-java@v2
45+
with:
46+
distribution: temurin
47+
java-version: 17
4448
- name: Build Agent
4549
run: make build
4650
- uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)