We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 665b194 commit 26ef512Copy full SHA for 26ef512
.github/workflows/gradle-publish.yml
@@ -26,9 +26,15 @@ jobs:
26
- name: Build with Gradle
27
run: ./gradlew build
28
29
+ # Bump the version and re-commit
30
+ - name: Bump version
31
+ id: bump
32
+ uses: mickem/gh-action-bump-maven-version@v1.0.0
33
+
34
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
35
# the publishing section of your build.gradle
36
- name: Publish to GitHub Packages
37
+ if: steps.bump.outputs.bumped == false
38
run: ./gradlew publish
39
env:
40
USERNAME: ${{ github.actor }}
0 commit comments