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" \