forked from libp2p/jvm-libp2p
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (42 loc) · 1 KB
/
Copy pathbuild.yml
File metadata and controls
45 lines (42 loc) · 1 KB
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
on:
push:
paths-ignore:
- '**/*.md'
- 'docs/**'
- '.gitignore'
- 'LICENSE-APACHE'
- 'LICENSE-MIT'
- 'funding.json'
- '.github/ISSUE_TEMPLATE/**'
pull_request:
paths-ignore:
- '**/*.md'
- 'docs/**'
- '.gitignore'
- 'LICENSE-APACHE'
- 'LICENSE-MIT'
- 'funding.json'
- '.github/ISSUE_TEMPLATE/**'
jobs:
gradle:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- name: Install and run ipfs
run: ./install-run-ipfs.sh
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Setup Android SDK
uses: android-actions/setup-android@v3
with:
cmdline-tools-version: 8512546
- name: Execute Gradle build
run: ./gradlew -s build dokkaJar