Skip to content

Commit ee062f8

Browse files
Copilotitsdouges
andauthored
Fix VSCode workflow failure when release is aborted (#371)
* Initial plan * Fix: Skip VSIX_PATH step when release is aborted Add conditional check and defensive directory validation to prevent workflow failure when changesets exist and build steps are skipped. Co-authored-by: itsdouges <6801309+itsdouges@users.noreply.github.com> * Remove defensive directory check per review feedback Keep the conditional check but remove the directory existence validation since we can assume the directory exists if previous steps ran successfully. Co-authored-by: itsdouges <6801309+itsdouges@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: itsdouges <6801309+itsdouges@users.noreply.github.com>
1 parent d9adc31 commit ee062f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release-vscode.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969

7070
- name: Read vsix
7171
id: vsix_version
72+
if: steps.check.outcome == 'success'
7273
working-directory: apps/vscode/out
7374
run: echo "VSIX_PATH=$(find . -name "*.vsix" -print -quit)" >> $GITHUB_ENV
7475

0 commit comments

Comments
 (0)