Belphemur/issue1786 #13
Workflow file for this run
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: Test Installer Build (No Sign) | |
| on: | |
| push: | |
| paths: | |
| - "Installer/**" | |
| pull_request: | |
| paths: | |
| - "Installer/**" | |
| jobs: | |
| build-installer-no-sign: | |
| runs-on: windows-2025 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install Inno Setup | |
| run: winget install --id=JRSoftware.InnoSetup --exact --source winget --scope machine --accept-package-agreements --accept-source-agreements | |
| shell: pwsh | |
| - name: Setup .NET 9.0 | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: "9.0.x" | |
| cache: true | |
| cache-dependency-path: Directory.Packages.props | |
| - name: Build SoundSwitch Application | |
| run: | | |
| echo "Cleaning build directories" | |
| if exist bin rmdir /q /s bin | |
| if exist obj rmdir /q /s obj | |
| if exist Release rmdir /q /s Release | |
| if exist Final rmdir /q /s Final | |
| mkdir Final | |
| echo "Building SoundSwitch CLI and Main Application" | |
| dotnet publish -c Release SoundSwitch.CLI\SoundSwitch.CLI.csproj -o Final | |
| dotnet publish -c Release SoundSwitch\SoundSwitch.csproj -o Final | |
| shell: cmd | |
| - name: Build Installer | |
| run: .\\Installer\\Make-Installer.bat Nightly /SCertum=.github/scripts/dummy_sign.bat | |
| shell: cmd |