File tree Expand file tree Collapse file tree 2 files changed +18
-17
lines changed
Expand file tree Collapse file tree 2 files changed +18
-17
lines changed Original file line number Diff line number Diff line change @@ -5,26 +5,26 @@ name: Java CI with Gradle
55
66on :
77 push :
8- branches : [ master ]
8+ branches : [master]
99 pull_request :
10- branches : [ master ]
10+ branches : [master]
1111
1212jobs :
1313 build :
14-
1514 runs-on : ubuntu-latest
16-
15+
1716 env :
1817 JFROG_CLI_LOG_LEVEL : DEBUG
1918 CI : true
2019
2120 steps :
22- - uses : actions/checkout@v2
23- - name : Set up JDK 1.8
24- uses : actions/setup-java@v1
25- with :
26- java-version : 1.8
27- - name : Grant execute permission for gradlew
28- run : chmod +x gradlew
29- - name : Build with Gradle
30- run : ./gradlew build --stacktrace --info
21+ - uses : actions/checkout@v3
22+ - name : Set up JDK 8
23+ uses : actions/setup-java@v3
24+ with :
25+ distribution : " temurin"
26+ java-version : 8
27+ - name : Grant execute permission for gradlew
28+ run : chmod +x gradlew
29+ - name : Build with Gradle
30+ run : ./gradlew build --stacktrace --info
Original file line number Diff line number Diff line change 66 publish :
77 runs-on : ubuntu-latest
88 steps :
9- - uses : actions/checkout@v2
9+ - uses : actions/checkout@v3
1010 - name : Set up Java
11- uses : actions/setup-java@v1
11+ uses : actions/setup-java@v3
1212 with :
13- java-version : 1.8
13+ distribution : " temurin"
14+ java-version : 8
1415 - name : Grant execute permission for gradlew
1516 run : chmod +x gradlew
1617 - name : Version release
2324 NEXUS_PASSWORD : ${{ secrets.NEXUS_PASSWORD }}
2425 SIGNING_KEY_ID : ${{ secrets.SIGNING_KEY_ID }}
2526 SIGNING_KEY : ${{ secrets.SIGNING_KEY }}
26- SIGNING_PASSWORD : ${{ secrets.SIGNING_PASSWORD }}
27+ SIGNING_PASSWORD : ${{ secrets.SIGNING_PASSWORD }}
You can’t perform that action at this time.
0 commit comments