Skip to content

To config

To config #4

name: build on macos arm64 preview native
on:
push:
branches:
- main
jobs:
build:
name: Plugin on ${{ matrix.os }} ${{ matrix.architecture }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macos-latest ]
architecture: [ arm64 ]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm' # See 'Options' for all available distributions
cache: 'maven'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'
- name: Build and upload binary
run: |
bash -e bin/package-native-github.sh
bash -e bin/upload-bin.sh ${{ secrets.SECRET_ID }} ${{ secrets.SECRET_KEY }} ${{ secrets.BUCKET }} /tmp/download plugin