File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11name : Publish package to the Maven Central Repository
22on :
33 release :
4- types : [created]
4+ types : [ created ]
55jobs :
66 publish :
77 runs-on : ubuntu-latest
1212 with :
1313 node-version : 20.x
1414 cache : " npm"
15+ cache-dependency-path : chat-agent-ui/package-lock.json
1516 - run : npm ci
17+ working-directory : ./chat-agent-ui
1618 - run : npm run build --if-present
19+ working-directory : ./chat-agent-ui
1720 - name : Set up Maven Central Repository
1821 uses : actions/setup-java@v3
1922 with :
2629 gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
2730 gpg-passphrase : MAVEN_GPG_PASSPHRASE
2831 - name : Publish package
29- run : mvn -Ppublish --batch-mode deploy
32+ run : mvn -Ppublish -B -ntp deploy
3033 env :
3134 MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
3235 MAVEN_PASSWORD : ${{ secrets.OSSRH_TOKEN }}
You can’t perform that action at this time.
0 commit comments