Skip to content

Commit 768c09e

Browse files
jongioCopilot
andauthored
Fix PR Build workflow: add working-directory: cli (#10)
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>
1 parent 7a997c3 commit 768c09e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/pr-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -286,24 +286,24 @@ jobs:
286286
287287
**PowerShell (Windows):**
288288
\`\`\`powershell
289-
iex "& { \$(irm https://raw.githubusercontent.com/$REPO/$BRANCH/scripts/install-pr.ps1) } -PrNumber $PR_NUM -Version $VERSION"
289+
iex "& { \$(irm https://raw.githubusercontent.com/$REPO/$BRANCH/cli/scripts/install-pr.ps1) } -PrNumber $PR_NUM -Version $VERSION"
290290
\`\`\`
291291
292292
**Bash (macOS/Linux):**
293293
\`\`\`bash
294-
curl -fsSL https://raw.githubusercontent.com/$REPO/$BRANCH/scripts/install-pr.sh | bash -s $PR_NUM $VERSION
294+
curl -fsSL https://raw.githubusercontent.com/$REPO/$BRANCH/cli/scripts/install-pr.sh | bash -s $PR_NUM $VERSION
295295
\`\`\`
296296
297297
### Uninstall
298298
299299
**PowerShell (Windows):**
300300
\`\`\`powershell
301-
iex "& { \$(irm https://raw.githubusercontent.com/$REPO/$BRANCH/scripts/uninstall-pr.ps1) } -PrNumber $PR_NUM"
301+
iex "& { \$(irm https://raw.githubusercontent.com/$REPO/$BRANCH/cli/scripts/uninstall-pr.ps1) } -PrNumber $PR_NUM"
302302
\`\`\`
303303
304304
**Bash (macOS/Linux):**
305305
\`\`\`bash
306-
curl -fsSL https://raw.githubusercontent.com/$REPO/$BRANCH/scripts/uninstall-pr.sh | bash -s $PR_NUM
306+
curl -fsSL https://raw.githubusercontent.com/$REPO/$BRANCH/cli/scripts/uninstall-pr.sh | bash -s $PR_NUM
307307
\`\`\`
308308
309309
---

0 commit comments

Comments
 (0)