Skip to content

docs: bump spring-boot-starter version to 1.0.3 in all documentation #1

docs: bump spring-boot-starter version to 1.0.3 in all documentation

docs: bump spring-boot-starter version to 1.0.3 in all documentation #1

Workflow file for this run

name: Publish Starter
on:
push:
tags: ['starter-v*']
workflow_dispatch:
jobs:
starter-maven-central:
name: Publish Starter to Maven Central
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v4
- name: Make gradlew executable
run: chmod +x gradlew
- name: Extract version from tag
id: version
run: |
if [[ "$GITHUB_REF" == refs/tags/starter-v* ]]; then
echo "VERSION=${GITHUB_REF_NAME#starter-v}" >> $GITHUB_OUTPUT
fi
- name: Build
run: ./gradlew :python-embed-spring-boot-starter:build${{ steps.version.outputs.VERSION && format(' -PreleaseVersion={0}', steps.version.outputs.VERSION) || '' }}
- name: Publish to Maven Central
run: ./gradlew :python-embed-spring-boot-starter:publishToMavenCentral --no-configuration-cache${{ steps.version.outputs.VERSION && format(' -PreleaseVersion={0}', steps.version.outputs.VERSION) || '' }}
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_IN_MEMORY_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.SIGNING_IN_MEMORY_KEY_ID }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_IN_MEMORY_KEY_PASSWORD }}
- name: Create GitHub Release
if: steps.version.outputs.VERSION != ''
uses: softprops/action-gh-release@v2
with:
name: "python-embed-spring-boot-starter v${{ steps.version.outputs.VERSION }}"
generate_release_notes: true