Java 3738 download and attach agent #29
Workflow file for this run
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
name: build | |
on: | |
workflow_call: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
name: Verify | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Java | |
uses: actions/setup-java@v2 | |
with: | |
java-version: 11 | |
distribution: temurin | |
- name: Cache Maven Wrapper | |
uses: actions/cache@v2 | |
with: | |
path: cd sdk/ ./.mvn/wrapper/maven-wrapper.jar | |
key: ${{ runner.os }}-maven-wrapper-${{ hashFiles('./.mvn/wrapper/maven-wrapper.properties') }} | |
restore-keys: ${{ runner.os }}-maven-wrapper | |
- name: Cache Maven Packages | |
uses: actions/cache@v2 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-m2-repository-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-m2-repository | |
- name: Maven Verify | |
run: cd sdk/ && ./mvnw --batch-mode verify |