build_pull_request.yml 462 B

1234567891011121314151617181920212223242526
  1. name: Build pull request
  2. on:
  3. workflow_dispatch:
  4. pull_request:
  5. branches:
  6. - dev
  7. jobs:
  8. release:
  9. name: Build
  10. runs-on: ubuntu-latest
  11. steps:
  12. - name: Checkout
  13. uses: actions/checkout@v4
  14. with:
  15. fetch-depth: 0
  16. - name: Cache Gradle
  17. uses: burrunan/gradle-cache-action@v1
  18. - name: Build
  19. env:
  20. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  21. run: ./gradlew build --no-daemon