forked from allure-framework/allure-java
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 709 Bytes
/
build.yaml
File metadata and controls
35 lines (33 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Build
on:
workflow_dispatch:
pull_request:
branches:
- '*'
push:
branches:
- 'master'
- 'hotfix-*'
jobs:
build_8:
name: "Build JDK 1.8"
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Gradle
run: ./gradlew build
build_11:
name: "Build JDK 11"
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11.0.x
- name: Build with Gradle
run: ./gradlew build