This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-java.git


The following commit(s) were added to refs/heads/main by this push:
     new 0233ffffde Fix wrong JDK version when publish Docker snapshot (#446)
0233ffffde is described below

commit 0233ffffde444caf28492b4d9066ecc7b874658b
Author: kezhenxu94 <[email protected]>
AuthorDate: Tue Jan 31 21:07:23 2023 +0800

    Fix wrong JDK version when publish Docker snapshot (#446)
---
 .github/workflows/publish-docker.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/publish-docker.yaml 
b/.github/workflows/publish-docker.yaml
index ad6cb921a5..96b90d3fd4 100644
--- a/.github/workflows/publish-docker.yaml
+++ b/.github/workflows/publish-docker.yaml
@@ -41,6 +41,10 @@ jobs:
           path: ~/.m2/repository
           key: ${{ runner.os }}-maven-publish-docker-${{ 
hashFiles('**/pom.xml') }}
           restore-keys: ${{ runner.os }}-maven-publish-docker-
+      - uses: actions/setup-java@v2
+        with:
+          distribution: temurin
+          java-version: 17
       - name: Build Agent
         run: make build
       - uses: actions/upload-artifact@v2

Reply via email to