From e35f14b9aaa2a405785eee8a69a53b7ebacc8be8 Mon Sep 17 00:00:00 2001 From: Robson Roberto Souza Peixoto Date: Wed, 11 Oct 2023 14:32:27 -0300 Subject: [PATCH] Using the ref_name from Github Action as RELEASE_TAG --- .github/workflows/tag.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index e5356484..b6721fff 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -24,12 +24,9 @@ jobs: - name: Build with Gradle # add --info or --debug below for more details when trying to understand issues run: ./gradlew clean build javadoc --stacktrace --warning-mode all --no-daemon - - name: Branch tag - id: branch_tag - run: echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT - name: Publish to Jfrog env: JFROG_USER: ${{ secrets.JFROG_USER }} JFROG_KEY: ${{ secrets.JFROG_KEY }} - RELEASE_TAG: ${{ steps.branch_tag.outputs.RELEASE_TAG }} + RELEASE_TAG: ${{ github.ref_name }} run: ./scripts/publishToJfrog.sh