Skip to content

Commit e3e59f2

Browse files
Vikram KaltaVikram Kalta
authored andcommitted
fix: maven publish take 4
1 parent 082457c commit e3e59f2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/maven-publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
with:
1717
java-version: '11'
1818
distribution: 'adopt'
19-
# server-id: ossrh
20-
# server-username: MAVEN_USERNAME
21-
# server-password: MAVEN_PASSWORD
22-
# gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
23-
# gpg-passphrase: GPG_PASSPHRASE
19+
server-id: ossrh
20+
server-username: MAVEN_USERNAME
21+
server-password: MAVEN_PASSWORD
22+
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
23+
gpg-passphrase: GPG_PASSPHRASE
2424
# Build and publish to a local Maven repository for testing
2525
- name: Build and Publish to Local Maven Repository
2626
run: mvn --batch-mode clean install deploy -Dgpg.skip=true -DskipTests=true -DskipNexusStaging=true -DaltDeploymentRepository=local::default::file://$HOME/.m2/repository

0 commit comments

Comments
 (0)