[chore] Update pull request workflow

Does **not** fully solve our issue with snapshot builds just yet, this is just an intermediary solution
This commit is contained in:
Max
2021-05-14 16:06:39 +02:00
committed by GitHub
parent 6956b95ed9
commit 707408c873

View File

@@ -19,10 +19,11 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Upload to Maven
run: ./gradlew publish --stacktrace
- name: Build snapshot
run: ./gradlew build --stacktrace
if: |
!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.pull_request.title, '[ci skip]')
env:
MAVEN_PASS: ${{ secrets.MAVEN_PASS }}
PR_NUM: ${{github.event.number}}
!contains(github.event.pull_request.title, '[ci skip]')
- name: Verify license integrity
run: ./gradlew licenseCheck
if: |
!contains(github.event.pull_request.title, '[ci skip]')