You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

maven-windows.yml 990B

123456789101112131415161718192021222324252627282930
  1. # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
  2. # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
  3. name: Java CI with Maven on Windows
  4. on:
  5. push:
  6. branches: [ "main" ]
  7. pull_request:
  8. branches: [ "main" ]
  9. jobs:
  10. build:
  11. runs-on: windows-latest
  12. steps:
  13. - uses: actions/checkout@v3
  14. - name: Set up JDK 8
  15. uses: actions/setup-java@v3
  16. with:
  17. java-version: '8'
  18. distribution: 'temurin'
  19. cache: maven
  20. - name: Build with Maven
  21. run: mvn -B package checkstyle:check findbugs:check --file pom.xml
  22. # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
  23. #- name: Update dependency graph
  24. # uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6