fix: add missing import in Block #3
Workflow file for this run
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 }} | |
timeout-minutes: 15 | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macOS-latest] | |
java-version: [ '17' ] | |
distribution: [ 'graalvm-community' ] | |
gradle: ['7.6.2'] | |
fail-fast: false | |
name: ${{ matrix.os }} JDK ${{ matrix.java-version }}.${{ matrix.distribution }} | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v1 | |
- name: Set up GraalVM | |
uses: graalvm/setup-graalvm@v1 | |
with: | |
java-version: ${{ matrix.java-version }} | |
distribution: ${{ matrix.distribution }} | |
components: 'native-image' | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build with Gradle | |
uses: gradle/[email protected] | |
with: | |
gradle-version: ${{ matrix.gradle }} | |
arguments: test nativeCompile --info --stacktrace | |
- name: Upload wallet-tool as artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: wallet-tool-${{ matrix.os }} | |
path: wallettool/build/native/nativeCompile/wallet-tool |