diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f93bb70..1ccd9bd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Release on: push: tags: - - 'v[0-9]+.[0-9]+.[0-9]+' + - "v[0-9]+.[0-9]+.[0-9]+" jobs: release: @@ -53,5 +53,5 @@ jobs: run: gradle publish working-directory: ./java env: - RELEASE_VERSION: ${{ github.ref_name[1] }} + RELEASE_VERSION: ${GITHUB_REF_NAME:1} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}