Skip to content

Instantly share code, notes, and snippets.

@PatilShreyas
Created April 30, 2020 08:56
Show Gist options
  • Save PatilShreyas/94e69e999f565e726945b5238a354a81 to your computer and use it in GitHub Desktop.
Save PatilShreyas/94e69e999f565e726945b5238a354a81 to your computer and use it in GitHub Desktop.
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