From 5b3f8e14e3b1e067867cf20f10ce072f909de4ba Mon Sep 17 00:00:00 2001 From: Edwin Jakobs Date: Mon, 27 Apr 2020 23:01:47 +0200 Subject: [PATCH] Fix tag name --- .github/workflows/release-to-bintray.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-to-bintray.yml b/.github/workflows/release-to-bintray.yml index 9750096b..c8c7ae5a 100644 --- a/.github/workflows/release-to-bintray.yml +++ b/.github/workflows/release-to-bintray.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v2 - name: Get the version id: get_version - run: export RELEASE_VERSION=${GITHUB_REF/refs\/tags\/v/} + run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/} - uses: actions/setup-java@v1 with: java-version: 8 @@ -20,10 +20,10 @@ jobs: - name: Zip and publish to Bintray run: | cd ~/.m2/repository - zip release.zip org/openrndr/extra/*/${RELEASE_VERSION}/* + zip release.zip org/openrndr/extra/*/${{ steps.get_version.outputs.VERSION }}/* curl -u ${{ secrets.BINTRAY_USER }}:${{ secrets.BINTRAY_KEY }} -X PUT https://api.bintray.com/content/openrndr/openrndr/ \ -H "X-Bintray-Package:orx" \ - -H "X-Bintray-Version:${RELEASE_VERSION}" \ + -H "X-Bintray-Version:${{ steps.get_version.outputs.VERSION }}" \ -H "X-Bintray-Publish:1" \ -H "X-Bintray-Override:1" \ -H "X-Bintray-Explode:1" \