Skip to content

Commit 2a89561

Browse files
committed
chore: deploy to maven
1 parent f54efb3 commit 2a89561

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,15 @@ jobs:
1919
with:
2020
java-version: '23'
2121
distribution: 'temurin'
22-
server-id: [github, ossrh]
23-
server-username: [GITHUB_ACTOR, MAVEN_USERNAME]
24-
server-password: [GITHUB_TOKEN, MAVEN_PASSWORD]
22+
server-id: ossrh
23+
server-username: MAVEN_USERNAME
24+
server-password: MAVEN_PASSWORD
2525
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
2626
gpg-passphrase: MAVEN_GPG_PASSPHRASE
2727

2828
- name: Build with Maven
2929
run: mvn clean package
3030

31-
- name: Publish to GitHub Packages
32-
run: mvn deploy -P github
33-
env:
34-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35-
3631
- name: Publish to Maven Central
3732
run: mvn deploy -P ossrh
3833
env:

0 commit comments

Comments
 (0)