Skip to content

Fix maven release #50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 80 commits into from
May 23, 2025
Merged

Fix maven release #50

merged 80 commits into from
May 23, 2025

Conversation

tcasstevens
Copy link
Contributor

No description provided.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

The workflow replaces the existing Sonatype publishing steps with a JReleaser-based sequence and adds the necessary environment variables for GPG and Maven Central integration.

  • Switch from direct publishToSonatype tasks to jreleaserConfig, publish, and jreleaserFullRelease commands with increased JVM heap.
  • Introduce JReleaser-specific secrets for GPG keys, GitHub token, and Maven Central credentials.
Comments suppressed due to low confidence (1)

.github/workflows/run-publish-maven.yml:53

  • [nitpick] The secret BIOKOTLINMAVEN name is ambiguous for a GitHub token. Consider using or renaming to the standard GITHUB_TOKEN or a clearer secret name to indicate its purpose.
JRELEASER_GITHUB_TOKEN: ${{ secrets.BIOKOTLINMAVEN }}

@@ -41,9 +41,16 @@ jobs:
run: chmod +x ./gradlew

- name: Publish to Maven Central Repository
run: conda run ./gradlew clean publishToSonatype closeAndReleaseSonatypeStagingRepository --no-daemon
run: conda run --no-capture-output bash -c "./gradlew jreleaserConfig && ./gradlew clean && ./gradlew publish && ./gradlew jreleaserFullRelease -Dorg.gradle.jvmargs=\"-Xmx8g\""

This comment was marked as resolved.

@tcasstevens tcasstevens merged commit 8afa22e into master May 23, 2025
@tcasstevens tcasstevens deleted the fix-maven-release branch May 23, 2025 15:00
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.

5 participants