File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -59,19 +59,18 @@ 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')
6362 env :
6463 # TRAVIS_TAG: ${{ github.event.release.tag_name }} # for setMavenVersion
6564 TRAVIS_TAG : ${GITHUB_REF##*/} # for setMavenVersion
6665 OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }} # for .travis.settings.xml
67- OSSRH_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
66+ OSSRH_PASSWORD : ${{ secrets.OSSRH_USERNAME }}
6867 run : |
6968 build/setupSigning.sh
7069 build/setMavenVersion.sh
7170 mvn deploy --settings build/.travis.settings.xml -DskipITs -Dskip.unit.tests -P central $MVN_ARGS
7271
7372 - name : Publish Java docs
74- if : ${{ github.event.workflow_run.conclusion == 'success' }}
73+ if : startsWith( github.ref, 'refs/tags/v')
7574 env :
7675 GH_TOKEN : ${{ secrets.GH_TOKEN }}
7776 GHA_REPO_SLUG : ${{ github.repository }}
You can’t perform that action at this time.
0 commit comments