Skip to content

Commit

Permalink
Remove Windows Terminal testing on windows-2019
Browse files Browse the repository at this point in the history
  • Loading branch information
emtuls committed Jan 31, 2024
1 parent 9d1218a commit 6433ff3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,22 @@ 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
if: always()
- 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) {
Expand Down

0 comments on commit 6433ff3

Please sign in to comment.