Skip to content

upgrade to 3.2, change default jvm #20

upgrade to 3.2, change default jvm

upgrade to 3.2, change default jvm #20

Workflow file for this run

---
name: "tagged-macos"
on:
push:
tags:
- "v*"
jobs:
tagged-macos:
name: "Tagged macos"
runs-on: macos-latest
steps:
- uses: graalvm/setup-graalvm@v1
with:
version: 'latest'
java-version: '17'
components: 'native-image'
github-token: "${{ secrets.GH_TOKEN }}"
- uses: actions/checkout@v3
with:
ref: '${{github.ref_name}}'
- name: Cache Maven packages
uses: actions/cache@v1
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build Image
run: ./mvnw -Pnative native:compile
- uses: ncipollo/release-action@v1
with:
artifacts: "./target/initializr-plusplus-osx-x86_64,LICENSE"
allowUpdates: true
token: ${{ secrets.GH_TOKEN }}