Add three-platform GitHub Actions installer build #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |