Skip to content

Commit

Permalink
ci: add windows installer build
Browse files Browse the repository at this point in the history
  • Loading branch information
stempler committed May 21, 2024
1 parent 7a73952 commit ae232a8
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Windows installer

on:
push:
branches:
- master
workflow_dispatch: {}

jobs:
installer:
# Only on main repository (don't publish on forks)
if: github.repository_owner == 'halestudio'

name: Build Windows installer
runs-on: windows-latest
steps:
- name: Setup Maven
uses: s4u/setup-maven-action@6d44c18d67d9e1549907b8815efa5e4dada1801b # v1.12.0
with:
java-version: 17
java-distribution: temurin
maven-version: 3.9.6

- name: Build installer
run: |
build.bat product -o windows -a x86_64 HALE
shell: cmd

- name: Upload hale studio build (Installer)
id: upload-msi
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: hale studio (Installer)
path: build/target/*.msi
retention-days: 90

0 comments on commit ae232a8

Please sign in to comment.