Skip to content

Update dependency org.springframework.boot:spring-boot-starter-parent… #59

Update dependency org.springframework.boot:spring-boot-starter-parent…

Update dependency org.springframework.boot:spring-boot-starter-parent… #59

Workflow file for this run

name: Publish To GitHub Packages
on:
push:
branches:
- '**'
jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
cache: 'maven'
- name: Build with Maven
run: ./mvnw -ntp package --file pom.xml
- if: ${{ github.ref == 'refs/heads/develop' }}
name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}