Skip to content

Commit

Permalink
building the release file in gh action (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
vkkhare authored Apr 1, 2021
1 parent 7de3aae commit 6a27e01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ jobs:
BINTRAY_USERNAME: ${{ secrets.BINTRAY_USERNAME }}
BINTRAY_KEY: ${{ secrets.BINTRAY_KEY }}
if: "!github.event.release.prerelease"
run: ./gradlew -Prelease.useLastTag=true final
run: ./gradlew assembleRelease -Prelease.useLastTag=true final
- name: Publish with Gradle
env:
BINTRAY_USERNAME: ${{ secrets.BINTRAY_USERNAME }}
BINTRAY_KEY: ${{ secrets.BINTRAY_KEY }}
if: "github.event.release.prerelease"
run: ./gradlew -Prelease.useLastTag=true candidate
run: ./gradlew assembleRelease -Prelease.useLastTag=true candidate

0 comments on commit 6a27e01

Please sign in to comment.