name: Windows tests on: push: pull_request: workflow_dispatch: jobs: test-and-build: runs-on: windows-latest steps: - uses: actions/checkout@v4 - name: Test with Windows PowerShell 5.1 shell: powershell run: .\tests\Run-All.ps1 - name: Test with PowerShell 7 shell: pwsh run: .\tests\Run-All.ps1 - uses: actions/setup-dotnet@v4 with: dotnet-version: 10.0.x - name: Build executable shell: powershell run: .\Build-Executable.ps1 -OutputDirectory .\dist\ci -Version 0.0.4 - uses: actions/upload-artifact@v4 with: name: ms-private-0.0.4 path: | dist/ci/ms-private-0.0.4.exe dist/ci/ms-private-0.0.4.exe.sha256 dist/ci/SHA256SUMS.txt