From 910a4926b13363f9f3fd465725706db20d9f0f03 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 6 May 2026 01:49:17 +0000 Subject: [PATCH 1/2] Initial plan From 83b47d8761341b59cf5228a7dda982383088f833 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 6 May 2026 01:52:52 +0000 Subject: [PATCH 2/2] ci: use upload-artifact@v7 with archive: false to publish VSIX directly Agent-Logs-Url: https://github.com/PowerShell/vscode-powershell/sessions/00fc64b1-786e-4136-bf33-4444a8ec713d Co-authored-by: JustinGrote <15258962+JustinGrote@users.noreply.github.com> --- .github/workflows/ci-test.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index 89d0ad442b..c74f31317c 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -67,15 +67,24 @@ jobs: run: Invoke-Build -Configuration Release working-directory: vscode-powershell + - name: Rename VSIX to include OS name + if: always() + shell: pwsh + # archive: false uses the filename as the artifact name, so we need unique names across matrix jobs + run: Get-Item out/*.vsix -ErrorAction SilentlyContinue | Rename-Item -NewName { $_.BaseName + '-${{ matrix.os }}' + $_.Extension } + working-directory: vscode-powershell + - name: Upload build artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 if: always() with: - name: vscode-powershell-vsix-${{ matrix.os }} - path: "**/*.vsix" + # archive: false uploads the .vsix directly (no zip wrapper) using the filename as the artifact name + path: "vscode-powershell/out/*.vsix" + archive: false + if-no-files-found: ignore - name: Upload test results - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 if: always() with: name: vscode-powershell-test-results-${{ matrix.os }}