forked from bisq-network/bisq
-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (37 loc) · 1.14 KB
/
build.yml
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
36
37
38
39
40
41
42
43
44
45
name: Build Bisq
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
java: [ '11', '11.0.3', '15', '15.0.5']
name: Test Java ${{ matrix.Java }}, ${{ matrix.os }}
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
lfs: true
- name: Set up JDK
uses: actions/setup-java@860f60056505705214d223b91ed7a30f173f6142
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Validate Gradle Wrapper JAR files
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- name: Build with Gradle
run: ./gradlew build
- name: Print Dependency Verification Report
if: ${{ failure() }}
run: cat build/reports/dependency-verification/*/*.html
shell: bash