Add Github workflow for CI PRs
This commit is contained in:
16
.github/workflows/ci-pr.yml
vendored
Normal file
16
.github/workflows/ci-pr.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
name: CI PRs
|
||||
on: [pull_request]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
- name: Set up Java 17
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: 17
|
||||
distribution: 'temurin'
|
||||
cache: gradle
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew build --no-daemon
|
||||
Reference in New Issue
Block a user