Skip to content

Fix PR Build workflow: add working-directory: cli#10

Merged
jongio merged 1 commit intomainfrom
fix-pr-build-workflow
Feb 23, 2026
Merged

Fix PR Build workflow: add working-directory: cli#10
jongio merged 1 commit intomainfrom
fix-pr-build-workflow

Conversation

@jongio
Copy link
Owner

@jongio jongio commented Feb 18, 2026

The PR Build workflow was failing because it referenced \�xtension.yaml\ and ran \�zd x build/pack\ from the repo root instead of the \cli/\ subdirectory.

Changes:

  • Added \defaults.run.working-directory: cli\ at workflow level
  • Added explicit \working-directory: cli\ on steps that reference \�xtension.yaml\ or run \�zd x\ commands
  • Fixed install script paths to use \cli/scripts/\ instead of \scripts/\
  • Added \defaults.run.working-directory: .\ on cleanup job to override the default
  • Output \instructions.md\ to repo root (../instructions.md) so the Comment step can read it

Matches the pattern used in azd-app's \pr-build.yml.

The PR Build workflow was failing because it referenced extension.yaml
and ran azd x build/pack from the repo root instead of the cli/
subdirectory. Added defaults.run.working-directory: cli and explicit
working-directory: cli on steps that need it. Also fixed install
script paths to use cli/scripts/.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link
Contributor

github-actions bot commented Feb 18, 2026

🚀 Website Preview

Your PR preview was available here.

Preview has been cleaned up as the PR was closed.

github-actions bot added a commit that referenced this pull request Feb 18, 2026
@jongio jongio merged commit 768c09e into main Feb 23, 2026
10 checks passed
@jongio jongio deleted the fix-pr-build-workflow branch February 23, 2026 15:55
github-actions bot added a commit that referenced this pull request Feb 23, 2026
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.

1 participant