feat(web): on-prem Web DEK auto-unlock + operator toggle (v1.9.0) #10
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-onprem | |
| # Builds the on-prem solution (Worker + Web + Core). Triggered ONLY when paths | |
| # relevant to that stack change. The shared Core path is intentionally listed | |
| # here AND in build-azure.yml so a single Core change exercises BOTH stacks in | |
| # parallel (this replaces the former build-both.yml regression guard). | |
| on: | |
| push: | |
| branches: [master, main, feature/**] | |
| paths: | |
| - 'src/BitLockerKeyMonitor.Worker/**' | |
| - 'src/BitLockerKeyMonitor.Web/**' | |
| - 'src/BitLockerKeyMonitor.Core/**' | |
| - 'tests/BitLockerKeyMonitor.Core.Tests/**' | |
| - 'BitLockerKeyMonitor.slnx' | |
| - 'Directory.Build.props' | |
| - 'Deploy-Remote.ps1' | |
| - '.github/workflows/build-onprem.yml' | |
| pull_request: | |
| branches: [master, main] | |
| paths: | |
| - 'src/BitLockerKeyMonitor.Worker/**' | |
| - 'src/BitLockerKeyMonitor.Web/**' | |
| - 'src/BitLockerKeyMonitor.Core/**' | |
| - 'tests/BitLockerKeyMonitor.Core.Tests/**' | |
| - 'BitLockerKeyMonitor.slnx' | |
| - 'Directory.Build.props' | |
| - 'Deploy-Remote.ps1' | |
| - '.github/workflows/build-onprem.yml' | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| name: Build BitLockerKeyMonitor.slnx | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup .NET 10 | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '10.0.x' | |
| - name: Restore | |
| run: dotnet restore BitLockerKeyMonitor.slnx | |
| - name: Build | |
| run: dotnet build BitLockerKeyMonitor.slnx --no-restore --nologo -v minimal -c Release | |
| - name: Test (Core) | |
| run: dotnet test BitLockerKeyMonitor.slnx --no-build --no-restore --verbosity minimal -c Release |