BowDogPrediction/.github/workflows/pull_request.yml

35 lines
694 B
YAML
Raw Normal View History

name: Build Pull Request
on: pull_request
2021-06-15 14:33:53 +00:00
jobs:
build:
strategy:
matrix:
os:
- macos-latest
- windows-latest
- ubuntu-latest
runs-on: '${{ matrix.os }}'
2021-06-15 14:33:53 +00:00
steps:
- name: Checkout
2021-08-31 14:50:17 +00:00
uses: actions/checkout@latest
2021-06-15 14:33:53 +00:00
- name: Setup JDK 16
2021-08-31 14:50:17 +00:00
uses: actions/setup-java@latest
2021-06-15 14:33:53 +00:00
with:
java-version: 16
distribution: adopt
2021-08-31 14:50:17 +00:00
2021-06-15 14:33:53 +00:00
- name: Build
run: |
chmod +x ./gradlew
./gradlew build
2021-08-31 14:50:17 +00:00
- name: Upload artifacts
uses: actions/upload-artifact@v2.2.4
with:
name: build-artifacts
path: build/libs