26 lines
527 B
YAML
26 lines
527 B
YAML
name: Gradle build
|
|
|
|
on:
|
|
push:
|
|
branches: [ dev, master ]
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-20.04
|
|
timeout-minutes: 40
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up JDK 11
|
|
uses: actions/setup-java@v2.5.0
|
|
with:
|
|
java-version: 11
|
|
distribution: liberica
|
|
- uses: actions/setup-node@v2.5.1
|
|
with:
|
|
node-version: '16'
|
|
- name: execute build
|
|
uses: gradle/gradle-build-action@v2
|
|
with:
|
|
arguments: build
|