Files
Purpur/.github/workflows/build.yml
Ben Kerllenevich d43289ce14 [ci-skip] only build on main branch
if this breaks something its not my fault i swear
2022-11-05 01:22:04 -04:00

25 lines
667 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@v2
- uses: gradle/wrapper-validation-action@v1
- uses: actions/setup-java@v2
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