forked from walt-id/waltid-ssikit
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (37 loc) · 891 Bytes
/
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
name: CI/CD Workflow for walt.id SSI Kit
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
verify-wrapper:
name: "Verification"
runs-on: "ubuntu-latest"
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
gradle:
needs: verify-wrapper
name: "Build"
strategy:
matrix:
# os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup java
uses: actions/setup-java@v2.1.0
with:
distribution: 'adopt-hotspot'
java-version: '16'
- name: Running gradle build
uses: eskatos/gradle-command-action@v1.3.3
with:
arguments: build --no-daemon