File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 25
25
settings-path : ${{ github.workspace }} # location for the settings.xml file
26
26
27
27
- name : Build with Gradle
28
- uses : gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
28
+ uses : gradle/gradle-build-action@v2
29
29
with :
30
30
arguments : build
Original file line number Diff line number Diff line change @@ -30,14 +30,14 @@ jobs:
30
30
settings-path : ${{ github.workspace }} # location for the settings.xml file
31
31
32
32
- name : Build with Gradle
33
- uses : gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
33
+ uses : gradle/gradle-build-action@v2
34
34
with :
35
35
arguments : -Pversion=${{ github.event.release.tag_name }} build
36
36
37
37
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
38
38
# the publishing section of your build.gradle
39
39
- name : Publish to GitHub Packages
40
- uses : gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
40
+ uses : gradle/gradle-build-action@v2
41
41
with :
42
42
arguments : -Pversion=${{ github.event.release.tag_name }} publish
43
43
env :
You can’t perform that action at this time.
0 commit comments