Use upload-artifact v7 to publish VSIX directly (non-zipped)#5489
Merged
JustinGrote merged 2 commits intomainfrom May 6, 2026
Merged
Use upload-artifact v7 to publish VSIX directly (non-zipped)#5489JustinGrote merged 2 commits intomainfrom
JustinGrote merged 2 commits intomainfrom
Conversation
2 tasks
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>
Copilot
AI
changed the title
[WIP] Use upload-architect v7 to publish VSIX directly
Use upload-artifact v7 to publish VSIX directly (non-zipped)
May 6, 2026
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Updates the CI workflow to publish VSIX artifacts as directly downloadable files (instead of ZIP-wrapped artifacts) and avoid artifact-name collisions across matrix OS jobs.
Changes:
- Switches artifact uploads from
actions/upload-artifact@v4to@v7. - Adds a PowerShell step to rename the VSIX to include the matrix OS for uniqueness.
- Updates the VSIX upload step to upload the file “as-is” and ignore missing files.
Comments suppressed due to low confidence (1)
.github/workflows/ci-test.yml:1
- As of
actions/upload-artifactversions available up to my knowledge cutoff (Aug 2025),@v7is not a published major version, andarchiveis not a recognized input for the action. If either is incorrect, the workflow will fail at runtime (“unable to resolve action version” / “unexpected input(s)”). Please verify the currently published major version and supported inputs forupload-artifact, and adjust the workflow to use a valid version and inputs.
name: CI Tests
| 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 } |
andyleejordan
approved these changes
May 6, 2026
Member
andyleejordan
left a comment
There was a problem hiding this comment.
LGTM thanks Justin and Copilot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

GitHub Actions now supports uploading single files as artifacts without ZIP wrapping. This makes
.vsixfiles directly downloadable and installable from the Actions run page — no unzipping required.Changes
upload-artifact@v4→@v7on both upload stepsarchive: falseon the VSIX upload — file is stored as-is, filename becomes the artifact namepowershell-2024.5.0-ubuntu-latest.vsix), sincearchive: falsederives artifact name from filename and all three matrix jobs would otherwise conflictif-no-files-found: ignoreadded so the upload step is a no-op on build failuresname:parameter removed from VSIX upload (ignored whenarchive: false)