We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a0600a5 + 43865ef commit c6a3da3Copy full SHA for c6a3da3
.github/workflows/gradle-publish.yml
@@ -32,14 +32,14 @@ jobs:
32
- name: Build with Gradle
33
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
34
with:
35
- arguments: build
+ arguments: -Pversion=${{ github.event.release.tag_name }} build
36
37
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
38
# the publishing section of your build.gradle
39
- name: Publish to GitHub Packages
40
41
42
- arguments: publish
+ arguments: -Pversion=${{ github.event.release.tag_name }} publish
43
env:
44
USERNAME: ${{ github.actor }}
45
TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments