Skip to content

Commit ca3e2a4

Browse files
author
Justin Brooks
authored
Cleanup
1 parent 36a5561 commit ca3e2a4

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
types: [released]
77

88
env:
9-
SIGNING_KEY_RING_FILE: "${RUNNER_TEMP}key.gpg"
9+
SIGNING_KEY_RING_FILE: "${RUNNER_TEMP}/key.gpg"
1010

1111
jobs:
1212
publish:
@@ -36,13 +36,8 @@ jobs:
3636
env:
3737
GPG_KEY_CONTENTS: ${{ secrets.SONATYPE_BASE64_SIGNING_KEY }}
3838
run: |
39-
if [[ -z "$GPG_KEY_CONTENTS" ]]; then
40-
echo 'The key is empty'
41-
fi
4239
git fetch --unshallow
4340
sudo bash -c "echo '$GPG_KEY_CONTENTS' | base64 -d > '$SIGNING_KEY_RING_FILE'"
44-
echo 'tail: ${GPG_KEY_CONTENTS: -6}'
45-
du -h $SIGNING_KEY_RING_FILE
4641
4742
# Publish aar to maven central via sonatype repository
4843
- name: Publish to MavenCentral

0 commit comments

Comments
 (0)