From 5b193ed770d95caec2555fa7453cf90429668bd1 Mon Sep 17 00:00:00 2001 From: Ned Twigg Date: Wed, 1 Jan 2025 09:26:02 -0800 Subject: [PATCH] Fix the deploy script - use JDK 17 and fix GH_TOKEN. --- .github/workflows/jvm-deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/jvm-deploy.yml b/.github/workflows/jvm-deploy.yml index 00a5308c..b23c9283 100644 --- a/.github/workflows/jvm-deploy.yml +++ b/.github/workflows/jvm-deploy.yml @@ -28,17 +28,17 @@ jobs: runs-on: ubuntu-latest name: deploy env: - gh_token: ${{ secrets.GH_TOKEN }} + GH_TOKEN: ${{ github.token }} ORG_GRADLE_PROJECT_nexus_user: ${{ secrets.NEXUS_USER }} ORG_GRADLE_PROJECT_nexus_pass64: ${{ secrets.NEXUS_PASS64 }} ORG_GRADLE_PROJECT_gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }} ORG_GRADLE_PROJECT_gpg_key64: ${{ secrets.GPG_KEY64 }} steps: - uses: actions/checkout@v4 - - name: jdk 11 + - name: jdk 17 uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: 'temurin' - name: gradle caching uses: gradle/actions/setup-gradle@v3