Update and rename checks.yml to pull_request.yml

This commit is contained in:
seasnail 2021-08-31 15:47:04 +01:00 committed by GitHub
parent fceb835b72
commit c343f5b4a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
name: checks name: Build Pull Request
on:
- pull_request on: pull_request
- push
jobs: jobs:
build: build:
strategy: strategy:
@ -11,6 +11,7 @@ jobs:
- windows-latest - windows-latest
- ubuntu-latest - ubuntu-latest
runs-on: '${{ matrix.os }}' runs-on: '${{ matrix.os }}'
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -23,3 +24,8 @@ jobs:
run: | run: |
chmod +x ./gradlew chmod +x ./gradlew
./gradlew build ./gradlew build
- name: Upload build artifacts
uses: actions/upload-artifact@v2.2.4
with:
name: build-artifacts
path: build/libs