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 46
46
with :
47
47
java-version : ' 11'
48
48
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
49
54
50
55
- name : Cache local Maven repository
51
56
uses : actions/cache@v2
56
61
${{ runner.os }}-maven-
57
62
58
63
- 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 }}
60
75
61
76
- name : Publish unit test results
62
77
uses : EnricoMi/publish-unit-test-result-action@v1.24
You can’t perform that action at this time.
0 commit comments