Skip to content

Commit 16792ad

Browse files
Merge pull request #3 from anduril/dogun/version-bump
2 parents 665b194 + 26ef512 commit 16792ad

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/gradle-publish.yml

+6
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,15 @@ jobs:
2626
- name: Build with Gradle
2727
run: ./gradlew build
2828

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+
2934
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
3035
# the publishing section of your build.gradle
3136
- name: Publish to GitHub Packages
37+
if: steps.bump.outputs.bumped == false
3238
run: ./gradlew publish
3339
env:
3440
USERNAME: ${{ github.actor }}

0 commit comments

Comments
 (0)