Skip to content

Commit c0af842

Browse files
committed
Add --stacktrace to publish script
1 parent 808be15 commit c0af842

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/publish-reusable.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,14 @@ jobs:
9696
echo '${{secrets.GPGKEYCONTENTS}}' | base64 -d > /tmp/publish_key.gpg
9797
gpg --quiet --batch --yes --decrypt --passphrase="${{secrets.SECRETPASSPHRASE}}" \
9898
--output /tmp/secret.gpg /tmp/publish_key.gpg
99-
echo "signing.password=${{secrets.signingpassword}}" >> gradle.properties
100-
echo "signing.keyId=${{secrets.signingkeyId}}" >> gradle.properties
99+
echo "signing.password=${{secrets.SIGNINGPASSWORD}}" >> gradle.properties
100+
echo "signing.keyId=${{secrets.SIGNINGKEYID}}" >> gradle.properties
101101
echo "signing.secretKeyRingFile=/tmp/secret.gpg" >> gradle.properties
102102
echo "mavenCentralUsername=${{secrets.CENTER_PORTAL_USERNAME}}" >> gradle.properties
103103
echo "mavenCentralPassword=${{secrets.CENTER_PORTAL_PASSWORD}}" >> gradle.properties
104104
env:
105-
signingpassword: ${{secrets.signingpassword}}
106-
signingkeyId: ${{secrets.signingkeyId}}
105+
signingpassword: ${{secrets.SIGNINGPASSWORD}}
106+
signingkeyId: ${{secrets.SIGNINGKEYID}}
107107
SECRETPASSPHRASE: ${{secrets.SECRETPASSPHRASE}}
108108
GPGKEYCONTENTS: ${{secrets.GPGKEYCONTENTS}}
109109
SONATYPE_CONNECT_TIMEOUT_SECONDS: 60
@@ -113,9 +113,9 @@ jobs:
113113
# Change github variable CENTER_PORTAL_AUTO_RELEASE to set up auto release Maven Central
114114
run: |
115115
if [ "${{ vars.CENTER_PORTAL_AUTO_RELEASE }}" = "true" ]; then
116-
./gradlew publishAndReleaseToMavenCentral --no-configuration-cache
116+
./gradlew publishAndReleaseToMavenCentral --no-configuration-cache --stacktrace --debug
117117
else
118-
./gradlew publishToMavenCentral --no-configuration-cache
118+
./gradlew publishToMavenCentral --no-configuration-cache --stacktrace --debug
119119
fi
120120
121121
release-github:

0 commit comments

Comments
 (0)