mirror of
https://github.com/architectury/architectury-api.git
synced 2026-03-30 13:05:25 -05:00
Does **not** fully solve our issue with snapshot builds just yet, this is just an intermediary solution
30 lines
677 B
YAML
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]')
|