diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e9b61513..934225a4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -90,6 +90,11 @@ jobs: with: distribution: 'zulu' java-version: 8 + - name: Setup BUILD_JAVA_HOME & BUILD_JAVA_VERSION + run: | + java -Xinternalversion + echo "BUILD_JAVA_HOME=${JAVA_HOME}" >> $GITHUB_ENV + echo "BUILD_JAVA_VERSION=8" >> $GITHUB_ENV - name: Publish a release run: ./gradlew publish env: