Skip to content
This repository was archived by the owner on Jul 31, 2022. It is now read-only.

Commit 23cde6b

Browse files
committed
try again...
1 parent 160741b commit 23cde6b

File tree

2 files changed

+7
-37
lines changed

2 files changed

+7
-37
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,19 @@ jobs:
1010
- name: 📦 Prepate Git Repo
1111
uses: actions/checkout@v2
1212

13-
- name: 🔐 Install GPG secret key
14-
run: |
15-
cat <(echo -e "${{ secrets.GPG_PRIVATE_KEY }}") | gpg --batch --import
16-
1713
- name: ☕ Install OpenJDK
1814
uses: AdoptOpenJDK/install-jdk@v1
1915
with:
2016
version: '11'
2117
architecture: x64
2218

23-
- name: 🚀 Deploy to Maven Central
24-
run: mvn -B deploy
25-
env:
26-
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
27-
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
28-
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
19+
- name: 🚀 Deploy to Maven
20+
uses: samuelmeuli/action-maven-publish@v1
21+
with:
22+
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
23+
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
24+
nexus_username: ${{ secrets.OSSRH_USERNAME }}
25+
nexus_password: ${{ secrets.OSSRH_TOKEN }}
2926

3027
- name: 🚀 Deploy to Releases
3128
uses: AButler/[email protected]

settings.xml

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)