MineLittlePony/.github/workflows/gradle-check.yml

20 lines
454 B
YAML
Raw Permalink Normal View History

name: Build on Pull Request
on:
- pull_request
jobs:
gradle:
runs-on: ubuntu-latest
steps:
- name: Checkout Commit
uses: actions/checkout@v2
- name: Fetch Tags
run: git fetch --unshallow --tags -f
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 16
- name: Build Gradle
uses: eskatos/gradle-command-action@v1
with:
arguments: check