File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -59,14 +59,15 @@ jobs:
5959 run : npx semantic-release --dry-run --branches 9520_gha # Uncomment for testing purposes
6060
6161 - name : Publish to Maven Central
62+ if : startsWith(github.ref, 'refs/tags/v')
6263 env :
6364 GHA_TAG : ${{ github.ref }} # non PR only need to get last part
6465 OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }} # for .travis.settings.xml
65- OSSRH_PASSWORD : ${{ secrets.OSSRH_USERNAME }}
66+ OSSRH_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
6667 run : |
6768 build/setupSigning.sh
6869 build/setMavenVersion_gha.sh
69- mvn deploy $MVN_ARGS --settings build/.travis.settings.xml -DskipITs -Dskip.unit.tests -P central
70+ mvn deploy --settings build/.travis.settings.xml -DskipITs -Dskip.unit.tests -P central $MVN_ARGS
7071
7172 - name : Publish Java docs
7273 if : startsWith(github.ref, 'refs/tags/v')
You can’t perform that action at this time.
0 commit comments