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: