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:
parent
4141fb942a
commit
a893f80b75
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
|||||||
- name: Grant execute permission for gradlew
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
- name: Publish Artifacts
|
- name: Publish Artifacts
|
||||||
run: ./gradlew api:bintrayUpload client:bintrayUpload -DlibraryVersion=$GITHUB_REF
|
run: ./gradlew api:bintrayUpload client:bintrayUpload -DlibraryVersion=${GITHUB_REF##*/}
|
||||||
env:
|
env:
|
||||||
BINTRAY_USER : ${{ secrets.BINTRAY_USER }}
|
BINTRAY_USER : ${{ secrets.BINTRAY_USER }}
|
||||||
BINTRARY_KEY : ${{ secrets.BINTRAY_KEY }}
|
BINTRAY_KEY : ${{ secrets.BINTRAY_KEY }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user