File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 2222 uses : joschi/setup-jdk@v2
2323 with :
2424 java-version : ' 15'
25-
25+
26+ - name : Cache SonarCloud packages
27+ uses : actions/cache@v1
28+ with :
29+ path : ~/.sonar/cache
30+ key : ${{ runner.os }}-sonar
31+ restore-keys : ${{ runner.os }}-sonar
2632# - name: replace group id
2733# if: success()
2834# run: find . -name "pom.xml" | xargs sed -i "s/<groupId>com.cloudimpl<\/groupId>/<groupId>com.github.cloudimpl<\/groupId>/g"
7278# env:
7379# MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
7480# MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
75-
81+ - name : Build and analyze
82+ env :
83+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
84+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
85+ run : mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=cloudimpl_outstack
86+
7687 - name : Create Release
7788 if : success() && github.event_name == 'push'
7889 id : create_release
You can’t perform that action at this time.
0 commit comments