From 6433ff3b16a74834d3e0afbd2540c1ed4a230665 Mon Sep 17 00:00:00 2001 From: Elliot Chernofsky <35854880+emtuls@users.noreply.github.com> Date: Tue, 30 Jan 2024 18:40:51 -0500 Subject: [PATCH] Remove Windows Terminal testing on windows-2019 --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca23b7dd8..ceaf8141d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,11 @@ jobs: # It runs only if there are modified files if: steps.files.outputs.added_modified_renamed != '' run: | + $os = "${{ matrix.os }}" $packages = "${{ steps.files.outputs.added_modified_renamed }}".Split(" ") | Foreach-Object { (Get-Item $_).Directory.Name } + if ($os -eq 'windows-2019') { + $packages = $packages -notcontains "microsoft-windows-terminal.vm" + } scripts/test/test_install.ps1 "common.vm $packages" - name: Upload logs to artifacts uses: ./.github/actions/upload-logs @@ -48,9 +52,10 @@ jobs: - name: Push all built packages to MyGet # Only push packages on master if they were built (not if testing was skipped) and # only with one version of Windows (otherwise it would be pushed 3 times) - if: steps.test.outcome == 'success' && github.event_name == 'push' && matrix.os == 'windows-2019' + if: steps.test.outcome == 'success' && github.event_name == 'push' && matrix.os == 'windows-2022' run: | $built_pkgs = Get-ChildItem built_pkgs + Write-Host $built_pkgs Set-Location built_pkgs foreach ($package in $built_pkgs) {