Skip to content

fix(deps): update vaadinwebcomponents monorepo to v24.5.4 #2334

fix(deps): update vaadinwebcomponents monorepo to v24.5.4

fix(deps): update vaadinwebcomponents monorepo to v24.5.4 #2334

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Java CI with Maven
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- if: ${{ github.ref == 'refs/heads/main' }}
name: Cache SonarCloud packages
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Create and populate ~/.testcontainers.properties
run: |
cat <<EOF > ~/.testcontainers.properties
testcontainers.reuse.enable=true
EOF
echo "cat ~/.testcontainers.properties"
cat ~/.testcontainers.properties
- if: ${{ github.ref != 'refs/heads/main' }}
name: Build and analyze
run: ./mvnw clean verify
- if: ${{ github.ref == 'refs/heads/main' }}
name: Build and analyze
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./mvnw -B verify sonar:sonar
- if: ${{ github.ref == 'refs/heads/main' }}
name: Build Image with Maven
run: ./mvnw spring-boot:build-image -Pproduction --file pom.xml