Skip to content

Commit 1e5a438

Browse files
Merge pull request #15 from aaronriekenberg/050123_gradle_build_action
Use gradle-build-action@v2.
2 parents 0547d75 + fc4730a commit 1e5a438

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ jobs:
2525
settings-path: ${{ github.workspace }} # location for the settings.xml file
2626

2727
- name: Build with Gradle
28-
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
28+
uses: gradle/gradle-build-action@v2
2929
with:
3030
arguments: build

.github/workflows/gradle-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ jobs:
3030
settings-path: ${{ github.workspace }} # location for the settings.xml file
3131

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

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

0 commit comments

Comments
 (0)