Skip to content

Commit 2a5a4a8

Browse files
Vikram KaltaVikram Kalta
authored andcommitted
fix: maven publish take 6
1 parent f5a117f commit 2a5a4a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/maven-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
mkdir -p $HOME/.m2
3030
echo "<settings><servers><server><id>ossrh</id><username>${{ secrets.OSSRH_USERNAME }}</username><password>${{ secrets.OSSRH_PASSWORD }}</password></server></servers></settings>" > $HOME/.m2/settings.xml
3131
32-
- name: Publish to Maven Central
33-
run: mvn --batch-mode clean deploy
32+
- name: Build and Publish to Local Maven Repository
33+
run: mvn --batch-mode clean install deploy -Dgpg.skip=true -DskipTests=true -DskipNexusStaging=true -DaltDeploymentRepository=local::default::file://$HOME/.m2/repository
3434

3535
# - name: Publish package
3636
# run: mvn --batch-mode -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} deploy

0 commit comments

Comments
 (0)