build(deps): bump org.springframework.boot:spring-boot-starter-parent #1352
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Get version in pom.xml | |
id: get_version | |
run: echo ::set-output name=VERSION::$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec) | |
- name: Get version in pom-cluecumber.xml | |
id: get_version_cluecumber | |
run: echo ::set-output name=VERSION::$(mvn -q -f pom-cluecumber.xml -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec) | |
- name: Compare versions | |
run: if [ "${{ steps.get_version.outputs.VERSION }}" = "${{ steps.get_version_cluecumber.outputs.VERSION }}" ]; then exit 0; else exit 1; fi | |
- name: Build with Maven | |
run: ./mvnw -B clean spring-boot:build-image --file pom.xml |