Skip to content

Fixes #7

Fixes #7 #26

Workflow file for this run

---
name: "tagged-windows"
on:
push:
tags:
- "v*"
jobs:
tagged-windows:
name: "Tagged windows"
runs-on: windows-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.cmd -Pnative native:compile
- uses: ncipollo/release-action@v1
with:
artifacts: "./target/initializr-plusplus-windows-x86_64.exe,LICENSE"
allowUpdates: true
token: ${{ secrets.GH_TOKEN }}