Skip to content

Update all samples #1487

Update all samples

Update all samples #1487

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://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Build with maven
on: [push, pull_request]
jobs:
build-with-maven:
strategy:
matrix:
java-version: ['21', '17']
runs-on: ubuntu-latest
name: Build with Java ${{ matrix.java-version }}
steps:
- uses: actions/checkout@v3
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: 'adopt'
cache: maven
- name: Build azure-spring-boot-samples 5.x with Maven - ${{ matrix.java-version }}
run: mvn -f pom.xml --batch-mode --update-snapshots verify