mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-22 04:27:59 +01:00
Add github action to check push and pr
This commit is contained in:
parent
76510f7a52
commit
c5b60ac7ae
1 changed files with 19 additions and 0 deletions
19
.github/workflows/gradle-build.yml
vendored
Normal file
19
.github/workflows/gradle-build.yml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
name: Run Gradle on push and pull request
|
||||
on:
|
||||
- push
|
||||
- pull_request
|
||||
jobs:
|
||||
gradle:
|
||||
strategy:
|
||||
matrix:
|
||||
java-version: [ 8, 11 ]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: ${{ matrix.java-version}}
|
||||
- uses: eskatos/gradle-command-action@v1
|
||||
with:
|
||||
arguments: check
|
||||
|
Loading…
Reference in a new issue