diff --git a/.github/workflows/build-on-pull.yml b/.github/workflows/build-on-pull.yml new file mode 100644 index 00000000..aa7ef276 --- /dev/null +++ b/.github/workflows/build-on-pull.yml @@ -0,0 +1,22 @@ +name: Build on Pull Request + +on: + pull_request: + branches: + - '**' + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up JDK 17 + uses: actions/setup-java@v2 + with: + java-version: '17' + + - name: Build with Gradle + run: ./gradlew build