From cb9e2d7fe0a320899cd48a81b4ca9724f1dea7f1 Mon Sep 17 00:00:00 2001 From: Bas de Wit <52208549+bas-info-nl@users.noreply.github.com> Date: Sun, 1 Sep 2024 12:02:51 +0200 Subject: [PATCH] fix(workflow): pass token to publish task Pass the GITHUB_TOKEN properly to the publish task, so it can publish the jar correctly. --- .github/workflows/build-test-deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-test-deploy.yml b/.github/workflows/build-test-deploy.yml index fa993c4..2dd8671 100644 --- a/.github/workflows/build-test-deploy.yml +++ b/.github/workflows/build-test-deploy.yml @@ -133,3 +133,5 @@ jobs: - name: Gradle publish run: ./gradlew jar publish -Pversion=${{ steps.get_next_version.outputs.version }} --info + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}