File tree 1 file changed +5
-6
lines changed
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -29,17 +29,16 @@ jobs:
29
29
server-id : github # Value of the distributionManagement/repository/id field of the pom.xml
30
30
settings-path : ${{ github.workspace }} # location for the settings.xml file
31
31
32
+ - name : Set up Gradle
33
+ uses : gradle/actions/setup-gradle@v4
34
+
32
35
- name : Build with Gradle
33
- uses : gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
34
- with :
35
- arguments : build
36
+ run : ./gradlew build
36
37
37
38
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
38
39
# the publishing section of your build.gradle
39
40
- name : Publish to GitHub Packages
40
- uses : gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
41
- with :
42
- arguments : publish
41
+ run : ./gradlew publish
43
42
env :
44
43
GITHUB_ACTOR : ${{ github.actor }}
45
44
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments