Skip to content

Commit c6f3d72

Browse files
committed
Add three-platform GitHub Actions installer build
1 parent ecb00fa commit c6f3d72

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Build US House Installer
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
paths:
7+
- 'installer/**'
8+
- '.github/workflows/build-installer.yml'
9+
10+
jobs:
11+
build:
12+
strategy:
13+
matrix:
14+
include:
15+
- os: windows-latest
16+
script: powershell -ExecutionPolicy Bypass -File installer/build-native.ps1
17+
- os: macos-latest
18+
script: sh installer/build-native.sh
19+
- os: ubuntu-latest
20+
script: sh installer/build-native.sh
21+
runs-on: ${{ matrix.os }}
22+
steps:
23+
- uses: actions/checkout@v4
24+
- uses: actions/setup-java@v4
25+
with:
26+
distribution: temurin
27+
java-version: '21'
28+
cache: maven
29+
- name: Build native installer
30+
run: ${{ matrix.script }}
31+
- name: Upload installer artifacts
32+
uses: actions/upload-artifact@v4
33+
with:
34+
name: us-house-installer-${{ matrix.os }}
35+
path: installer/dist/*
36+
if-no-files-found: error

0 commit comments

Comments
 (0)