forked from halestudio/hale
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (30 loc) · 910 Bytes
/
windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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@2f53a7669c7543a045d0bb6c92436df0c5a726f8 # v1.14.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@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
with:
name: hale studio (Installer)
path: build/target/*.msi
retention-days: 90