Skip to content

Commit 3836b3e

Browse files
committed
remove Prepare environment step
1 parent ae78ba0 commit 3836b3e

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

.github/workflows/publish-release.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@ jobs:
1717
java-version: '21'
1818
cache: 'gradle'
1919

20-
# Base64 decodes and pipes the GPG key content into the secret file
21-
- name: Prepare environment
22-
env:
23-
GPG_KEY_CONTENTS: ${{ secrets.GPG_KEY_CONTENTS }}
24-
SIGNING_SECRET_KEY_RING_FILE: ${{ secrets.SIGNING_SECRET_KEY_RING_FILE }}
25-
run: |
26-
sudo bash -c "echo '$GPG_KEY_CONTENTS' | base64 -d > '$SIGNING_SECRET_KEY_RING_FILE'"
27-
2820
- name: Publish Release
2921
run: ./gradlew publishAndReleaseToMavenCentral
3022
env:

.github/workflows/publish-snapshot.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@ jobs:
1717
java-version: '21'
1818
cache: 'gradle'
1919

20-
# Base64 decodes and pipes the GPG key content into the secret file
21-
- name: Prepare environment
22-
env:
23-
GPG_KEY_CONTENTS: ${{ secrets.GPG_KEY_CONTENTS }}
24-
SIGNING_SECRET_KEY_RING_FILE: ${{ secrets.SIGNING_SECRET_KEY_RING_FILE }}
25-
run: |
26-
sudo bash -c "echo '$GPG_KEY_CONTENTS' | base64 -d > '$SIGNING_SECRET_KEY_RING_FILE'"
27-
2820
- name: Publish snapshot
2921
run: ./gradlew publish
3022
env:

0 commit comments

Comments
 (0)