haveno/.github/workflows/build.yml
2024-03-19 22:03:47 -04:00

33 lines
730 B
YAML

name: CI
on:
workflow_dispatch:
push:
pull_request:
paths-ignore:
- '**/README.md'
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'adopt'
cache: gradle
- name: Build with Gradle
run: ./gradlew build --stacktrace --scan
- name: cache nodes dependencies
uses: actions/upload-artifact@v3
with:
name: cached-localnet
path: .localnet