File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Basic checks
22
3- on : [pull_request_target]
3+ on : [pull_request]
4+
5+ env :
6+ JAVA_VERSION : 16
47
58jobs :
69 spotless :
1013 - name : Set up JDK
1114 uses : actions/setup-java@v1
1215 with :
13- java-version : ${{ secrets .JAVA_VERSION }}
16+ java-version : ${{ env .JAVA_VERSION }}
1417 - uses : actions/checkout@v2
1518 with :
1619 fetch-depth : 2
2427 - name : Set up JDK
2528 uses : actions/setup-java@v1
2629 with :
27- java-version : ${{ secrets .JAVA_VERSION }}
30+ java-version : ${{ env .JAVA_VERSION }}
2831 - uses : actions/checkout@v2
2932 - name : Check
3033 run : ./gradlew test
4043 - name : Set up JDK
4144 uses : actions/setup-java@v1
4245 with :
43- java-version : ${{ secrets .JAVA_VERSION }}
46+ java-version : ${{ env .JAVA_VERSION }}
4447 - name : Cache SonarCloud packages
4548 uses : actions/cache@v1
4649 with :
Original file line number Diff line number Diff line change 99 schedule :
1010 - cron : ' 0 20 * * 4'
1111
12+ env :
13+ JAVA_VERSION : 16
14+
1215jobs :
1316 analyze :
1417 name : Analyze
2730 - name : Set up JDK
2831 uses : actions/setup-java@v1
2932 with :
30- java-version : ${{ secrets .JAVA_VERSION }}
33+ java-version : ${{ env .JAVA_VERSION }}
3134 - name : Checkout repository
3235 uses : actions/checkout@v2
3336 with :
Original file line number Diff line number Diff line change 11name : Docker Verify
22
3- on : [pull_request_target]
3+ on : [pull_request]
4+
5+ env :
6+ JAVA_VERSION : 16
47
58jobs :
69 docker :
1013 - name : Set up JDK
1114 uses : actions/setup-java@v1
1215 with :
13- java-version : ${{ secrets .JAVA_VERSION }}
16+ java-version : ${{ env .JAVA_VERSION }}
1417 - uses : actions/checkout@v2
1518 with :
1619 fetch-depth : 0
Original file line number Diff line number Diff line change 55 branches :
66 - ' develop'
77
8+ env :
9+ JAVA_VERSION : 16
10+
811jobs :
912 docker :
1013 runs-on : ubuntu-latest
1114 steps :
1215 - name : Set up JDK
1316 uses : actions/setup-java@v1
1417 with :
15- java-version : ${{ secrets .JAVA_VERSION }}
18+ java-version : ${{ env .JAVA_VERSION }}
1619 - uses : actions/checkout@v2
1720 with :
1821 fetch-depth : 0
You can’t perform that action at this time.
0 commit comments