Files
Purpur/.github/workflows/pull_request.yml
2021-06-14 07:45:53 -04:00

20 lines
574 B
YAML

name: Build Purpur
on: [ pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '16'
- name: Configure Git
run: git config --global user.email "no-reply@github.com" && git config --global user.name "Github Actions"
- name: Apply patches
run: ./gradlew applyPatches
- name: Build
run: ./gradlew shadowJar