-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 980 Bytes
/
Copy pathbuild-installer.yml
File metadata and controls
36 lines (34 loc) · 980 Bytes
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
36
name: Build US House Installer
on:
workflow_dispatch:
push:
paths:
- 'installer/**'
- '.github/workflows/build-installer.yml'
jobs:
build:
strategy:
matrix:
include:
- os: windows-latest
script: powershell -ExecutionPolicy Bypass -File installer/build-native.ps1
- os: macos-latest
script: sh installer/build-native.sh
- os: ubuntu-latest
script: sh installer/build-native.sh
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
cache: maven
- name: Build native installer
run: ${{ matrix.script }}
- name: Upload installer artifacts
uses: actions/upload-artifact@v4
with:
name: us-house-installer-${{ matrix.os }}
path: installer/dist/*
if-no-files-found: error