Skip to content

Update material-ui monorepo to v5.14.15 #1706

Update material-ui monorepo to v5.14.15

Update material-ui monorepo to v5.14.15 #1706

Workflow file for this run

# 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: maven-build
concurrency: build
on:
push:
branches: [ develop ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@bf4cac97a49476daf40896c7ba9e4c1ffbc530f5
with:
disable-sudo: true
egress-policy: audit #sonarcloud aws generic hostname unfortunately subject to change
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
fetch-depth: '0'
- name: Set up JDK 17
uses: actions/setup-java@78078da0cd035d0d177cc2cb696e05d96fba7d11
with:
java-version: 17
distribution: 'temurin'
- name: Cache Maven packages
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Cache SonarCloud packages
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
# Next step will start build & deploy maven site with additional artifacts for the Maven site
- name: Build and analyze dev
run: |
git config --global user.email "[email protected]"
git config --global user.name "datengaertnerei"
export OSM_IMPORT_FILE=https://github.com/datengaertnerei/test-data-service/raw/develop/data/osm-small.pbf
touch ./mvn-build.log
tail -f ./mvn-build.log &
mvn -B --log-file ./mvn-build.log deploy site org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dorg.slf4j.simpleLogger.defaultLogLevel=warn
cp ./mvn-build.log target/site/mvn-build.log.txt
npm install --global @cyclonedx/cyclonedx-npm
cyclonedx-npm --output-file target/site/frontend-sbom.json --ignore-npm-errors src/app/package.json
mkdir ~/site-tmp
cp -r target/site/* ~/site-tmp
cp -r target/test-data-service-oas.json ~/site-tmp
cp -r target/test-data-service-bom.* ~/site-tmp
git stash
git checkout gh_pages
cp -r ~/site-tmp/* docs
git add -A docs
git commit docs -m "Maven Site generated"
git push
rm -rf ~/site-tmp
git checkout develop
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- uses: codecov/codecov-action@aceeca9bb1d324259878527da62611f6ea3b0f52