[23] Quick Install Guide Button & Privilege Escalation #133
Workflow file for this run
This file contains 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 Windows | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
BUILD_TYPE: Release | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: ghcr.io/${{ github.repository }}/usb-creator-mxe:latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Configure CMake | |
run: | | |
cmake src -B build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DQt5_DIR=/opt/mxe/usr/i686-w64-mingw32.shared/qt5/lib/cmake/Qt5 | |
- name: Build | |
run: | | |
cmake --build build --config ${{env.BUILD_TYPE}} | |
- name: Run NSIS | |
run: | | |
makensis build/unraid-usb-creator.nsi | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: WindowsInstaller | |
path: build/unraid-usb-creator-*.exe |