ci(release): restore nightly beta publisher [skip changelog] (2026.6.… #229
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| # Negations re-include CHANGELOG.md so changelog-only pulls and commits | |
| # still exercise the required status check. | |
| paths-ignore: | |
| - '**.md' | |
| - '!CHANGELOG.md' | |
| - 'LICENSE' | |
| - '.gitignore' | |
| - '.gitattributes' | |
| - '.editorconfig' | |
| - '.github/ISSUE_TEMPLATE/**' | |
| pull_request: | |
| branches: [main] | |
| paths-ignore: | |
| - '**.md' | |
| - '!CHANGELOG.md' | |
| - 'LICENSE' | |
| - '.gitignore' | |
| - '.gitattributes' | |
| - '.editorconfig' | |
| - '.github/ISSUE_TEMPLATE/**' | |
| workflow_dispatch: | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: dotnet build + test | |
| runs-on: windows-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Validate PowerShell and release scripts | |
| shell: pwsh | |
| run: | | |
| ./.github/scripts/Test-WorkflowSyntax.ps1 | |
| ./.github/scripts/Test-NightlyBetaPlan.ps1 | |
| ./.github/scripts/Test-UpdateChangelog.ps1 | |
| ./.github/scripts/Test-GenerateReleaseNotes.ps1 | |
| ./.github/scripts/Test-ReleaseVersionSequence.ps1 | |
| - name: Setup .NET 10 | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: "10.0.x" | |
| - name: Restore | |
| run: dotnet restore WKVRCProxy.slnx | |
| - name: Install PowerShell analyzer | |
| shell: pwsh | |
| run: Install-Module PSScriptAnalyzer -Scope CurrentUser -Force | |
| - name: Lint and format check | |
| shell: pwsh | |
| run: ./scripts/lint.ps1 | |
| - name: Build | |
| run: dotnet build WKVRCProxy.slnx --configuration Release --no-restore -warnaserror | |
| - name: Test | |
| run: dotnet test src/WKVRCProxy.Tests/WKVRCProxy.Tests.csproj --configuration Release --no-build --logger "trx;LogFileName=test-results.trx" --results-directory ./test-results | |
| - name: Upload test results | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: test-results | |
| path: ./test-results | |
| if-no-files-found: ignore |