Skip to content

release: bump version to 0.23.2 #8

release: bump version to 0.23.2

release: bump version to 0.23.2 #8

Workflow file for this run

name: release
on:
push:
tags:
- '**'
jobs:
publish:
name: Release build and publish
runs-on: macOS-latest
steps:
- name: Check out code
uses: actions/checkout@v6
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
distribution: 'zulu'
java-version: 25
- name: Validate signing configuration
run: |
if ! grep -Eq '^[[:space:]]*signAllPublications[[:space:]]*=[[:space:]]*true[[:space:]]*$' gradle.properties; then
echo "signAllPublications must be set to true in gradle.properties to publish." >&2
echo "Current setting:" >&2
grep -n 'signAllPublications' gradle.properties || echo "No signAllPublications property found" >&2
exit 1
fi
- name: Publish to MavenCentral
run: ./gradlew publish --no-configuration-cache --stacktrace
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_PRIVATE_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}