From bb12024e630023acd550cf156ce27a8c943843f9 Mon Sep 17 00:00:00 2001 From: monosoul Date: Thu, 1 Dec 2022 17:22:08 +0100 Subject: [PATCH] fix(ci): remove set-output usage --- .github/workflows/build-on-release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-on-release.yaml b/.github/workflows/build-on-release.yaml index a68c0a8..51e8b07 100644 --- a/.github/workflows/build-on-release.yaml +++ b/.github/workflows/build-on-release.yaml @@ -19,13 +19,13 @@ jobs: - name: Get the version id: get_version - run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} + run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - name: Publish plugin uses: gradle/gradle-build-action@v2 with: arguments: | - -Pversion=${{ steps.get_version.outputs.VERSION }} + -Pversion=${{ env.RELEASE_VERSION }} -Pintellij.publish.token=${{ secrets.INTELLIJ_PUBLISH_TOKEN }} build publishPlugin