Skip to content

Archive artifact

Archive artifact #5

Workflow file for this run

name: GraalVM build
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Print Environment State
run: |
echo "GRAALVM_HOME: $GRAALVM_HOME"
echo "JAVA_HOME: $JAVA_HOME"
java --version
native-image --version
- name: Build
run: ./gradlew.bat nativeCompile
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: executable
path: ./build/native/nativeCompile/**.exe