2021-05-05 00:20:30 +00:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
|
|
|
- '**/README.md'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2022-09-30 09:54:51 +00:00
|
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
2021-05-05 00:20:30 +00:00
|
|
|
fail-fast: false
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
2023-03-17 17:43:33 +00:00
|
|
|
- uses: actions/checkout@v3
|
2021-05-05 00:20:30 +00:00
|
|
|
with:
|
|
|
|
lfs: true
|
2023-07-11 13:57:22 +00:00
|
|
|
- name: Set up JDK 11
|
2023-03-17 17:43:33 +00:00
|
|
|
uses: actions/setup-java@v3
|
2021-05-05 00:20:30 +00:00
|
|
|
with:
|
2023-07-11 13:57:22 +00:00
|
|
|
java-version: '11'
|
2021-05-05 00:20:30 +00:00
|
|
|
distribution: 'adopt'
|
2021-11-09 11:18:39 +00:00
|
|
|
cache: gradle
|
2022-09-30 09:54:51 +00:00
|
|
|
- name: Build with Gradle
|
|
|
|
run: ./gradlew build --stacktrace --scan
|
2021-11-09 11:18:39 +00:00
|
|
|
- name: cache nodes dependencies
|
2023-03-17 17:43:33 +00:00
|
|
|
uses: actions/upload-artifact@v3
|
2021-11-09 11:18:39 +00:00
|
|
|
with:
|
|
|
|
name: cached-localnet
|
|
|
|
path: .localnet
|