Files
architectury-api/.github/workflows/pr.yml
Max 707408c873 [chore] Update pull request workflow
Does **not** fully solve our issue with snapshot builds just yet, this is just an intermediary solution
2021-05-14 16:06:39 +02:00

30 lines
677 B
YAML

name: Snapshot Compile & Release
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]')