haveno/.github/workflows/build.yml

34 lines
730 B
YAML
Raw Normal View History

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