StoredBlock: use Utils to convert chainWork (Backport) #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macOS-latest, windows-latest] | |
java: [ '8', '11', '15' ] | |
fail-fast: false | |
name: JAVA ${{ matrix.java }} OS ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v1 | |
with: | |
gradle-version: 6.9 | |
arguments: build --stacktrace | |
- name: Upload Test Results and Reports | |
uses: actions/upload-artifact@v2 | |
if: always() | |
with: | |
name: bitcoinj-core-test-results-jdk${{ matrix.java }}-${{ matrix.os }} | |
path: | | |
core/build/reports/tests/test/ | |
core/build/test-results/test/ |