Skip to content

Fix release workflow credential handling#9

Merged
vedanthvdev merged 1 commit intomasterfrom
fix/release-workflow
Apr 16, 2026
Merged

Fix release workflow credential handling#9
vedanthvdev merged 1 commit intomasterfrom
fix/release-workflow

Conversation

@vedanthvdev
Copy link
Copy Markdown
Owner

Summary

The publishPlugins step failed because the repository secrets haven't been added yet, and plugin-publish 2.0+ natively reads GRADLE_PUBLISH_KEY/GRADLE_PUBLISH_SECRET env vars — no need to pass them via -P flags.

Changes

  • Simplified the publish step to just ./gradlew publishPlugins with env vars set (plugin reads them directly)
  • Removes credential exposure in process arguments

Required: Add repo secrets

Go to Settings > Secrets and variables > Actions and add:

Secret Value
GRADLE_PUBLISH_KEY (your key)
GRADLE_PUBLISH_SECRET (your secret)

Once secrets are added and this PR is merged, the release workflow will work automatically for future merges.

The plugin-publish 2.0+ natively reads GRADLE_PUBLISH_KEY and
GRADLE_PUBLISH_SECRET environment variables, so passing them via -P
flags is unnecessary. This also avoids exposing credentials in process
arguments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant