File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 9
9
build :
10
10
11
11
runs-on : ubuntu-latest
12
- permissions :
13
- contents : write
14
- packages : write
15
12
16
13
steps :
17
14
- uses : actions/checkout@v3
@@ -23,10 +20,14 @@ jobs:
23
20
server-id : github # Value of the distributionManagement/repository/id field of the pom.xml
24
21
settings-path : ${{ github.workspace }} # location for the settings.xml file
25
22
26
- - name : Build with Gradle
27
- uses : gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
23
+ - name : Set up Gradle
24
+ uses : gradle/actions/setup-gradle@v3
28
25
with :
29
- arguments : build
26
+ validate-wrappers : true
27
+ build-scan-publish : true
28
+ build-scan-terms-of-use-url : " https://gradle.com/terms-of-service"
29
+ build-scan-terms-of-use-agree : " yes"
30
+
31
+ - name : Run build
32
+ run : ./gradlew build --scan
30
33
31
- - name : Run snapshot action
32
- uses : mikepenz/gradle-dependency-submission@v0.8.6
You can’t perform that action at this time.
0 commit comments