Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.

Commit a893f80

Browse files
committed
Use release tag without prefixes
https://github.community/t/getting-release-details-from-within-an-actions-run/17552 Also fixed BINTRAY_KEY secret
1 parent 4141fb9 commit a893f80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Grant execute permission for gradlew
1919
run: chmod +x gradlew
2020
- name: Publish Artifacts
21-
run: ./gradlew api:bintrayUpload client:bintrayUpload -DlibraryVersion=$GITHUB_REF
21+
run: ./gradlew api:bintrayUpload client:bintrayUpload -DlibraryVersion=${GITHUB_REF##*/}
2222
env:
2323
BINTRAY_USER : ${{ secrets.BINTRAY_USER }}
24-
BINTRARY_KEY : ${{ secrets.BINTRAY_KEY }}
24+
BINTRAY_KEY : ${{ secrets.BINTRAY_KEY }}

0 commit comments

Comments
 (0)