From 83640dd5af768bc44b5d2dc3b9810dfd9600318a Mon Sep 17 00:00:00 2001 From: Andy Jordan <2226434+andyleejordan@users.noreply.github.com> Date: Thu, 2 May 2024 10:34:10 -0700 Subject: [PATCH] Update readme and CI status badge --- README.md | 9 +++++---- package.json | 4 ++-- vscode-powershell.build.ps1 | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 2aacd437cb..9d8db9cd2f 100644 --- a/README.md +++ b/README.md @@ -58,10 +58,11 @@ The extension should work anywhere VS Code itself and PowerShell Core 7.2 or hig basis. PowerShell Core 6, 7.0, and 7.1 have reached end-of-support. We test the following configurations: -- **Windows Server 2022** with Windows PowerShell 5.1 and PowerShell Core 7.2 -- **Windows Server 2019** with Windows PowerShell 5.1 and PowerShell Core 7.2 -- **macOS 11** with PowerShell Core 7.2 -- **Ubuntu 20.04** with PowerShell Core 7.2 +- **Windows Server 2022** with Windows PowerShell 5.1 and PowerShell Core 7.2, 7.3 and 7.4 +- **macOS 12** with PowerShell Core 7.2, 7.3 and 7.4 +- **Ubuntu 22.04** with PowerShell Core 7.2, 7.3 and 7.4 + +On Windows, we also test with and without Constrained Language Mode enabled. Read the [installation instructions][] to get more details on how to use the extension on these platforms. diff --git a/package.json b/package.json index 105fc3df21..46c0e2303e 100644 --- a/package.json +++ b/package.json @@ -30,8 +30,8 @@ }, "badges": [ { - "url": "https://dev.azure.com/powershell/vscode-powershell/_apis/build/status/PowerShell.vscode-powershell?branchName=main", - "href": "https://dev.azure.com/powershell/vscode-powershell/_build/latest?definitionId=51&branchName=main", + "url": "https://github.com/PowerShell/vscode-powershell/actions/workflows/ci-test.yml/badge.svg", + "href": "https://github.com/PowerShell/vscode-powershell/actions/workflows/ci-test.yml?query=branch%3Amain", "description": "Build Status" }, { diff --git a/vscode-powershell.build.ps1 b/vscode-powershell.build.ps1 index 53b8f95158..c2c8ae59fd 100644 --- a/vscode-powershell.build.ps1 +++ b/vscode-powershell.build.ps1 @@ -128,7 +128,7 @@ task Package { [semver]$version = $((Get-Content -Raw -Path package.json | ConvertFrom-Json).version) Write-Host "`n### Packaging powershell-$version.vsix`n" -ForegroundColor Green Remove-BuildItem ./out - New-Item -ItemType Directory -Force out + New-Item -ItemType Directory -Force out | Out-Null Assert-Build (Test-Path ./dist/extension.js) "Extension must be built!"