[ENTESB-22790] Upgrade to Spring Framework 5.3.34 #3370
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
# This workflow will build a Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Checked | |
on: | |
push: | |
branches: [ atlasmap-2.3.* ] | |
pull_request: | |
branches: [ atlasmap-2.3.* ] | |
jobs: | |
build_maven: | |
if: ${{ github.repository == 'atlasmap/atlasmap' }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [ '8', '11' ] | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
name: ${{ matrix.os }} / Java${{ matrix.java }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Java versions | |
uses: actions/setup-java@v2 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'adopt' | |
- name: Cache Maven repo | |
uses: actions/cache@v2 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Build from root with Maven | |
if: ${{ runner.os == 'Windows' }} | |
run: mvn --batch-mode -Pcoverage "-Dwebdriver.chrome.driver=$Env:CHROMEWEBDRIVER\chromedriver.exe" clean install | |
- name: Build from root with Maven | |
if: ${{ runner.os == 'Linux' || runner.os == 'macOS' }} | |
run: mvn --batch-mode -Pcoverage "-Dwebdriver.chrome.driver=${CHROMEWEBDRIVER}/chromedriver" clean install | |
- name: Build lib with Maven | |
working-directory: lib | |
run: mvn --batch-mode clean install | |
- name: Build docs | |
if: ${{ runner.os == 'Linux' }} | |
working-directory: docs | |
run: mvn "-Phtml,pdf" package | |
- name: Build aggregated javadoc | |
if: ${{ runner.os == 'Linux' }} | |
working-directory: docs | |
run: mvn -f pom-javadoc.xml -Dfailonerror=true -pl \!io.atlasmap:atlasmap-lib-all javadoc:aggregate | |
chromatic: | |
needs: build_maven | |
if: | | |
github.repository == 'atlasmap/atlasmap' | |
&& github.actor != 'dependabot[bot]' | |
&& github.actor != 'dependabot' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: marceloprado/has-changed-path@v1 | |
id: changed-ui | |
with: | |
paths: ui | |
- name: Install dependencies | |
if: steps.changed-ui.outputs.changed == 'true' | |
run: yarn install | |
working-directory: ui | |
- name: build @atlasmap/core | |
if: steps.changed-ui.outputs.changed == 'true' | |
run: yarn build:module | |
working-directory: ui/packages/atlasmap-core | |
- name: prebuild | |
if: steps.changed-ui.outputs.changed == 'true' | |
run: yarn prebuild | |
working-directory: ui/packages/atlasmap | |
- name: Publish to Chromatic | |
if: steps.changed-ui.outputs.changed == 'true' | |
uses: chromaui/action@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
projectToken: adaaa25c3df8 | |
workingDir: ui/packages/atlasmap | |
buildScriptName: build:storybook |