Use release tag without prefixes

https://github.community/t/getting-release-details-from-within-an-actions-run/17552
Also fixed BINTRAY_KEY secret
This commit is contained in:
Theo Kanning 2020-10-05 19:00:05 -05:00
parent 4141fb942a
commit a893f80b75
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Publish Artifacts
run: ./gradlew api:bintrayUpload client:bintrayUpload -DlibraryVersion=$GITHUB_REF
run: ./gradlew api:bintrayUpload client:bintrayUpload -DlibraryVersion=${GITHUB_REF##*/}
env:
BINTRAY_USER : ${{ secrets.BINTRAY_USER }}
BINTRARY_KEY : ${{ secrets.BINTRAY_KEY }}
BINTRAY_KEY : ${{ secrets.BINTRAY_KEY }}