microsoft/gctoolkit
Publicmirrored from https://github.com/microsoft/gctoolkitAvailable
.github/workflows/maven.yml
27lines · modecode
| 1 | # This workflow will build a Java project with Maven |
| 2 | # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven |
| 3 | |
| 4 | name: GCToolKit build with Maven |
| 5 | |
| 6 | on: |
| 7 | push: |
| 8 | branches: [ main ] |
| 9 | pull_request: |
| 10 | branches: [ main ] |
| 11 | |
| 12 | jobs: |
| 13 | build: |
| 14 | |
| 15 | runs-on: ubuntu-latest |
| 16 | |
| 17 | steps: |
| 18 | - uses: actions/checkout@v2 |
| 19 | - name: Set up JDK 11 |
| 20 | uses: actions/setup-java@v2 |
| 21 | with: |
| 22 | java-version: '11' |
| 23 | distribution: 'adopt' |
| 24 | - name: Build with Maven |
| 25 | run: mvn -B package --file pom.xml |
| 26 | env: |
| 27 | GITHUB_TOKEN: ${{ secrets.TEMP_PAT }} |
| 28 | |