Repository navigation
Google speech support #6296
Workflow file for this run
This file contains hidden or 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: PR Check | |
| on: | |
| pull_request: | |
| jobs: | |
| build: | |
| name: Build branch | |
| runs-on: ubuntu-latest | |
| if: ${{ github.repository_owner == 'spring-projects' }} | |
| steps: | |
| - name: Checkout source code | |
| uses: actions/checkout@v6 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '17' | |
| distribution: 'liberica' | |
| cache: 'maven' | |
| - name: Setup Maven Build-Cache (~/.m2/build-cache) | |
| uses: actions/cache@v5 | |
| with: | |
| path: ~/.m2/build-cache | |
| # See https://github.com/actions/cache/blob/main/tips-and-workarounds.md#update-a-cache | |
| # We need to incrementally save the contents of the build-cache directory, even if there was a hit prior to the build | |
| # Cached restored from restore-keys are restored using the latest one first, so this is a good compromise | |
| key: build-cache-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}-${{ github.run_id }} | |
| restore-keys: | | |
| build-cache-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}- | |
| build-cache-${{ runner.os }}- | |
| - name: Run tests | |
| run: | | |
| ./mvnw -ntp -B -U package |