File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed
Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 99 - ' *'
1010 pull_request :
1111
12- env :
13- SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
14-
1512jobs :
1613 build :
1714 strategy :
2522 - java : 17
2623 sonar : false
2724 name : Build
25+ if : github.repository == 'sixhours-team/memcached-spring-boot'
2826 runs-on : ubuntu-latest
2927 steps :
3028 - uses : actions/checkout@v3
4947 echo "Build Branch => Branch [$GITHUB_REF_NAME]"
5048 ./gradlew build
5149 - name : Run code analysis
52- if : ${{ matrix.sonar }}
50+ if : ${{ matrix.sonar && github.event_name != 'pull_request' }}
5351 run : |
5452 echo "Run SonarQube Analysis => Branch [$GITHUB_REF_NAME]"
55- ./gradlew sonarqube -Dsonar.verbose=true
53+ ./gradlew sonarqube -Dsonar.verbose=true --stacktrace
54+ env :
55+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
Original file line number Diff line number Diff line change 88jobs :
99 snapshot :
1010 name : Release Snapshot
11+ if : github.repository == 'sixhours-team/memcached-spring-boot'
1112 runs-on : ubuntu-latest
1213 steps :
1314 - uses : actions/checkout@v3
Original file line number Diff line number Diff line change 88jobs :
99 release :
1010 name : Release
11+ if : github.repository == 'sixhours-team/memcached-spring-boot'
1112 runs-on : ubuntu-latest
1213 steps :
1314 - uses : actions/checkout@v3
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ def gitVersion = { ->
3434 return ! version. isEmpty() ? version - ' v' : projectVersion
3535}
3636
37- def resolvedVersion = project. findProperty(' release' ) ? gitVersion() : ' 2.4.3 -SNAPSHOT'
37+ def resolvedVersion = project. findProperty(' release' ) ? gitVersion() : ' 2.4.4 -SNAPSHOT'
3838
3939sonarqube {
4040 properties {
You can’t perform that action at this time.
0 commit comments