Files
Purpur/.github/workflows/build.yml
2023-03-26 01:50:12 -07:00

25 lines
671 B
YAML

name: Build
on:
pull_request:
push:
branches:
- "ver/**"
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.commits[0].message, '[ci-skip]')"
steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
- uses: actions/setup-java@v3.6.0
with:
distribution: temurin
java-version: 17
- 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 --stacktrace
- name: Build
run: ./gradlew build --stacktrace