Skip to content

Bump to Spring Boot 3.3 and Spring Kafka 3.2 #5

Bump to Spring Boot 3.3 and Spring Kafka 3.2

Bump to Spring Boot 3.3 and Spring Kafka 3.2 #5

# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java#apache-maven-with-a-settings-path
name: Github Package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '17'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Build with Maven
run: mvn package -B -ntp --file pom.xml
- name: Publish to GitHub Packages
run: mvn deploy -B -ntp -s $GITHUB_WORKSPACE/settings.xml -DskipTests
env:
GITHUB_TOKEN: ${{ github.token }}