Skip to content

Commit 26848fe

Browse files
committed
Fix signing configuration in release workflow
- Pass signing.key and signing.password as Gradle properties via -P flags - Fixes 'no configured signatory' error during plugin publication - Signing keys are now properly passed to Gradle signing plugin
1 parent 3d05a72 commit 26848fe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ jobs:
123123
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
124124
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
125125
run: |
126-
gradle publishToSonatype closeStagingRepositories --no-daemon
126+
gradle publishToSonatype closeStagingRepositories --no-daemon \
127+
-Psigning.key="$SIGNING_KEY" \
128+
-Psigning.password="$SIGNING_PASSWORD"
127129
128130
- name: Publish to Gradle Plugin Portal
129131
env:

0 commit comments

Comments
 (0)