Created
April 30, 2020 08:56
-
-
Save PatilShreyas/94e69e999f565e726945b5238a354a81 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Bintray | |
on: | |
release: | |
types: [published] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Grant Permission to Execute | |
run: chmod +x gradlew | |
- name: Publish Library | |
env: | |
bintrayUser: ${{ secrets.BINTRAY_USER }} | |
bintrayApiKey: ${{ secrets.BINTRAY_API_KEY }} | |
run: ./gradlew bintrayUpload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment