Skip to content

Fix build-vsix: create dist/ directory before VSIX packaging#7

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/fix-github-actions-build-vsix
Draft

Fix build-vsix: create dist/ directory before VSIX packaging#7
Copilot wants to merge 2 commits intomainfrom
copilot/fix-github-actions-build-vsix

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 31, 2026

The build-vsix workflow was failing because vsce package writes output to ../dist/ (relative to vscode-extension/), but that directory doesn't exist in a fresh checkout.

Change

Added a mkdir -p dist step before the "Package VSIX" step in .github/workflows/build-vsix.yml:

- name: Create dist directory
  run: mkdir -p dist

- name: Package VSIX
  working-directory: vscode-extension
  run: npx @vscode/vsce package ... --out "../dist/agentsec-${VERSION}.vsix"
Original prompt

Fix the failing GitHub Actions workflow build-vsix
Analyze the workflow logs, identify the root cause of the failure, and implement a fix.
Job ID: 69411599315
Job URL: https://github.com/alxayo/sec-check/actions/runs/23814880975/job/69411599315

Copilot AI changed the title [WIP] Fix failing GitHub Actions workflow build-vsix Fix build-vsix: create dist/ directory before VSIX packaging Mar 31, 2026
Copilot AI requested a review from alxayo March 31, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants