2021-07-22 10:14:25 -07:00
|
|
|
name: Gradle Build
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2021-07-22 10:47:28 -07:00
|
|
|
runs-on: ubuntu-latest
|
2021-07-22 10:14:25 -07:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up JDK
|
|
|
|
uses: actions/setup-java@v1
|
|
|
|
with:
|
2021-12-10 23:35:56 -07:00
|
|
|
java-version: '8.0.312'
|
2021-07-22 10:14:25 -07:00
|
|
|
architecture: x64
|
|
|
|
- name: Build with Gradle
|
2021-07-22 10:47:28 -07:00
|
|
|
run: |
|
|
|
|
chmod +x ./gradlew
|
|
|
|
./gradlew build -iS
|
2021-07-22 10:14:25 -07:00
|
|
|
- uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
name: Package
|
|
|
|
path: build/libs
|