File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 4646 with :
4747 java-version : ' 11'
4848 distribution : ' adopt'
49+ server-id : ossrh
50+ server-username : MAVEN_USERNAME
51+ server-password : MAVEN_PASSWORD
52+ gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
53+ gpg-passphrase : MAVEN_GPG_PASSPHRASE
4954
5055 - name : Cache local Maven repository
5156 uses : actions/cache@v2
5661 ${{ runner.os }}-maven-
5762
5863 - name : Maven unit and integration tests
59- run : mvn clean verify
64+ run : mvn clean verify sonar:sonar -Pcoverage -Dsonar.projectKey=org.utplsql:utplsql-java-api
65+ env :
66+ GITHUB_TOKEN : ${{ secrets.API_TOKEN_GITHUB }}
67+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
68+
69+ - name : Maven deploy snapshot
70+ run : mvn deploy -DskipTests
71+ env :
72+ MAVEN_USERNAME : ${{ secrets.MAVEN_USERNAME }}
73+ MAVEN_PASSWORD : ${{ secrets.MAVEN_PASSWORD }}
74+ MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
6075
6176 - name : Publish unit test results
6277 uses : EnricoMi/publish-unit-test-result-action@v1.24
You can’t perform that action at this time.
0 commit comments