Skip to content

Commit 66ec5ba

Browse files
committed
Remove GPG base64
1 parent fa00e71 commit 66ec5ba

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

.github/workflows/publish.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,6 @@ jobs:
2222
- name: Setup Gradle
2323
uses: gradle/actions/setup-gradle@v3
2424

25-
- name: Decode and import GPG key
26-
run: |
27-
echo "$GPG_PRIVATE_KEY_BASE64" | base64 --decode > /tmp/private.key
28-
gpg --batch --import /tmp/private.key
29-
# optional check
30-
gpg --list-secret-keys --keyid-format LONG
31-
shred -u /tmp/private.key || rm -f /tmp/private.key
32-
env:
33-
GPG_PRIVATE_KEY_BASE64: ${{ secrets.GPG_PRIVATE_KEY_BASE64 }}
34-
3525
- name: Publish to Maven Central (NMCP)
3626
run: ./gradlew --no-daemon clean publishAggregationToCentralPortal --stacktrace
3727
env:

0 commit comments

Comments
 (0)