From d68ce50e51525f60e5a9073ebe83ae29a7712b69 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 8 Aug 2026 18:27:51 +0000 Subject: [PATCH] Fix VSIX marketplace file path resolution Co-authored-by: ghost1372 <9213496+ghost1372@users.noreply.github.com> --- .github/workflows/vsix-release.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/vsix-release.yml b/.github/workflows/vsix-release.yml index 8e5fe519c..34b8f9f84 100644 --- a/.github/workflows/vsix-release.yml +++ b/.github/workflows/vsix-release.yml @@ -30,9 +30,20 @@ jobs: - name: Build run: msbuild /p:Configuration=Release + - name: Resolve VSIX file path + shell: pwsh + run: | + $vsixFile = Get-ChildItem -Path VSIX -Filter *.vsix -Recurse | Select-Object -First 1 -ExpandProperty FullName + if (-not $vsixFile) { + Write-Host "::error::No VSIX file was produced by the build." + exit 1 + } + Write-Host "VSIX file: $vsixFile" + "VSIX_FILE=$vsixFile" | Out-File -FilePath $env:GITHUB_ENV -Append + - name: Publish to Marketplace uses: madskristensen/publish-marketplace@v2 with: - extension-file: '**/*.vsix' + extension-file: ${{ env.VSIX_FILE }} publish-manifest-file: vs-publish.json personal-access-code: ${{ secrets.VS_MARKETPLACE_TOKEN }}