|
@@ -1,7 +1,12 @@
|
|
name: Snapshot Compile & Release
|
|
name: Snapshot Compile & Release
|
|
|
|
|
|
on:
|
|
on:
|
|
- [pull_request]
|
|
|
|
|
|
+ pull_request:
|
|
|
|
+ paths:
|
|
|
|
+ - '**.gradle'
|
|
|
|
+ - '**.properties'
|
|
|
|
+ - '**/src/**'
|
|
|
|
+ types: [ opened, synchronize, reopened ]
|
|
|
|
|
|
jobs:
|
|
jobs:
|
|
build:
|
|
build:
|
|
@@ -16,6 +21,8 @@ jobs:
|
|
java-version: 1.8
|
|
java-version: 1.8
|
|
- name: Upload to Bintray
|
|
- name: Upload to Bintray
|
|
run: ./gradlew bintrayUpload --stacktrace
|
|
run: ./gradlew bintrayUpload --stacktrace
|
|
|
|
+ if: |
|
|
|
|
+ !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.pull_request.title, '[ci skip]')
|
|
env:
|
|
env:
|
|
BINTRAY_USER: shedaniel
|
|
BINTRAY_USER: shedaniel
|
|
BINTRAY_KEY: ${{ secrets.BINTRAY_KEY }}
|
|
BINTRAY_KEY: ${{ secrets.BINTRAY_KEY }}
|