Skip to content

Instantly share code, notes, and snippets.

@ktvipin27
Last active July 4, 2020 10:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ktvipin27/861db5bb613453b8836fe0a0032f7f63 to your computer and use it in GitHub Desktop.
Save ktvipin27/861db5bb613453b8836fe0a0032f7f63 to your computer and use it in GitHub Desktop.
Sample workflow file for automating bintray upload
publish:
name: Publish Build
runs-on: ubuntu-latest
needs: release
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Configure JDK
uses: actions/setup-java@v1
with:
java-version: 1.8
- 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