From 78c783c73c3056acffcdd59984eee9035db3a4d7 Mon Sep 17 00:00:00 2001 From: "Daniel A. A. Pelsmaeker" Date: Mon, 1 Jul 2024 11:25:16 +0200 Subject: [PATCH] Use configured gradle --- .github/workflows/gradle-publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gradle-publish.yaml b/.github/workflows/gradle-publish.yaml index 7e44b8b..466ddbe 100644 --- a/.github/workflows/gradle-publish.yaml +++ b/.github/workflows/gradle-publish.yaml @@ -88,7 +88,7 @@ jobs: SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }} SIGNING_KEY: ${{ secrets.SIGNING_KEY }} # Obtain the derived version number in the env.VERSION variable. - - run: echo "VERSION=$(${{github.workspace}}/gradlew -q :printVersion)" >> $GITHUB_ENV + - run: echo "VERSION=$(gradle -q :printVersion)" >> $GITHUB_ENV - name: 'Release on GitHub' uses: softprops/action-gh-release@v2 with: