Skip to content

Use apache common cli #21

Use apache common cli

Use apache common cli #21

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 /tmp/download/simplewebserver.cli
bash -e bin/upload-bin.sh ${{ secrets.SECRET_ID }} ${{ secrets.SECRET_KEY }} ${{ secrets.BUCKET }} /tmp/download simplewebserver.cli