Skip to content

Commit f18495c

Browse files
committed
Lets not skip gpg2
1 parent 62a00bf commit f18495c

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/maven-publish.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v4
10-
- name: Install secret key
11-
shell: bash
12-
run: |
13-
# Install secret key
14-
cat <(echo -e "${{ secrets.GPG_SIGNING_KEY }}") | gpg --batch --import
15-
gpg --list-secret-keys --keyid-format LONG
1610
- name: Set up Maven Central Repository
1711
uses: actions/setup-java@v4
1812
with:
@@ -26,7 +20,7 @@ jobs:
2620
- name: Set version
2721
run: mvn versions:set -DnewVersion=${{ github.event.release.tag_name }}
2822
- name: Publish package
29-
run: mvn -P release --batch-mode -Dgpg.passphrase="${{ secrets.GPG_SIGNING_KEY_PASSWORD }}" deploy -DskipTests
23+
run: mvn -P release --batch-mode deploy -DskipTests
3024
env:
3125
MAVEN_USERNAME: ${{ secrets.CENTRAL_TOKEN_USERNAME }}
3226
MAVEN_PASSWORD: ${{ secrets.CENTRAL_TOKEN_PASSWORD }}

0 commit comments

Comments
 (0)