mirror of
https://github.com/architectury/architectury-api.git
synced 2026-03-28 03:56:59 -05:00
30 lines
668 B
YAML
30 lines
668 B
YAML
name: Build PR snapshot
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- '**.gradle'
|
|
- '**.properties'
|
|
- '**/src/**'
|
|
types: [ opened, synchronize, reopened ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up JDK 1.8
|
|
uses: actions/setup-java@v1
|
|
with:
|
|
java-version: 1.8
|
|
- name: Build snapshot
|
|
run: ./gradlew build --stacktrace
|
|
if: |
|
|
!contains(github.event.pull_request.title, '[ci skip]')
|
|
- name: Verify license integrity
|
|
run: ./gradlew licenseCheck
|
|
if: |
|
|
!contains(github.event.pull_request.title, '[ci skip]')
|