Skip to content

Commit

Permalink
Merge pull request #15 from aaronriekenberg/050123_gradle_build_action
Browse files Browse the repository at this point in the history
Use gradle-build-action@v2.
  • Loading branch information
aaronriekenberg authored May 1, 2023
2 parents 0547d75 + fc4730a commit 1e5a438
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
settings-path: ${{ github.workspace }} # location for the settings.xml file

- name: Build with Gradle
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
uses: gradle/gradle-build-action@v2
with:
arguments: build
4 changes: 2 additions & 2 deletions .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ jobs:
settings-path: ${{ github.workspace }} # location for the settings.xml file

- name: Build with Gradle
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
uses: gradle/gradle-build-action@v2
with:
arguments: -Pversion=${{ github.event.release.tag_name }} build

# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
# the publishing section of your build.gradle
- name: Publish to GitHub Packages
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
uses: gradle/gradle-build-action@v2
with:
arguments: -Pversion=${{ github.event.release.tag_name }} publish
env:
Expand Down

0 comments on commit 1e5a438

Please sign in to comment.