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 1
1
name : Publish package to the Maven Central Repository
2
2
on :
3
3
release :
4
- types : [created]
4
+ types : [ created ]
5
5
jobs :
6
6
publish :
7
7
runs-on : ubuntu-latest
12
12
with :
13
13
node-version : 20.x
14
14
cache : " npm"
15
+ cache-dependency-path : chat-agent-ui/package-lock.json
15
16
- run : npm ci
17
+ working-directory : ./chat-agent-ui
16
18
- run : npm run build --if-present
19
+ working-directory : ./chat-agent-ui
17
20
- name : Set up Maven Central Repository
18
21
uses : actions/setup-java@v3
19
22
with :
26
29
gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
27
30
gpg-passphrase : MAVEN_GPG_PASSPHRASE
28
31
- name : Publish package
29
- run : mvn -Ppublish --batch-mode deploy
32
+ run : mvn -Ppublish -B -ntp deploy
30
33
env :
31
34
MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
32
35
MAVEN_PASSWORD : ${{ secrets.OSSRH_TOKEN }}
You can’t perform that action at this time.
0 commit comments