Skip to content

fix: matrix variable name #9

fix: matrix variable name

fix: matrix variable name #9

Workflow file for this run

name: GraalVM Native Image builds
on: [push, pull_request]
jobs:
build:
name: HelloWorld on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- name: get-name
run: |
echo "REPO_NAME=$(basename ${{ github.repository }})" >> $GITHUB_ENV
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '22'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'
- name: Build native image
run: |
./create-image.sh ${{ env.REPO_NAME }}-${{ matrix.os }}
- name: Commit & Push changes
uses: actions-js/push@master
with:
rebase: true
message: 'chore: binary image for ${{matrix.os}} - ${date}'
github_token: ${{ secrets.GITHUB_TOKEN }}