Skip to content

Comments

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

Open
jongio wants to merge 1 commit intomainfrom
fix-pr-build-workflow
Open

Fix PR Build workflow: add working-directory: cli#10
jongio wants to merge 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

🚀 Website Preview

Your PR preview is ready!

📎 Preview URL: https://jongio.github.io/azd-copilot/pr/10/

This preview will be automatically cleaned up when the PR is closed.

github-actions bot added a commit that referenced this pull request Feb 18, 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