Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit bb599af

Browse files
authored
Update gradle-publish-central.yml
1 parent f4879e2 commit bb599af

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/gradle-publish-central.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,12 @@ jobs:
2929
run: gradle build
3030

3131
- name: Copy key to tmp file
32-
run: 'base64 -d "$PRIV_KEY64" > ./key'
32+
run: 'echo "$PRIV_KEY64" > ./key64 | base64 -d ./key64 > ./key'
3333
shell: bash
3434
env:
3535
PRIV_KEY64: ${{ secrets.PRIV_KEY64 }}
3636

37-
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
38-
# the publishing section of your build.gradle
39-
- name: Publish to GitHub Packages
37+
- name: Publish to Maven Central
4038
run: gradle publishAllPublicationsToSonatypeRepository
4139
env:
4240
SIGNING_KEY_ID: ${{ secrets.KEY_ID }}

0 commit comments

Comments
 (0)