Bump xChangeVersion from 4.4.2 to 5.2.0 #874
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: GraalVM Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macOS-latest] | |
java-version: [ '17', '21' ] | |
distribution: [ 'graalvm-community' ] | |
fail-fast: false | |
name: ${{ matrix.os }} JDK ${{ matrix.java-version }}.${{ matrix.distribution }} | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
- name: Set up GraalVM | |
uses: graalvm/setup-graalvm@v1 | |
with: | |
java-version: ${{ matrix.java-version }} | |
distribution: ${{ matrix.distribution }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Cache Gradle packages | |
uses: actions/cache@v4 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | |
restore-keys: ${{ runner.os }}-gradle | |
- name: Build with Gradle | |
run: ./gradlew nativeCompile --scan --info --stacktrace | |
- name: Upload jsonrpc tool as artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: jsonrpc-tool-${{ matrix.os }} | |
path: consensusj-jsonrpc-cli/build/jsonrpc |