Skip to content

Commit 60557c1

Browse files
committed
fix: update working directory references in release steps
1 parent e0a4224 commit 60557c1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,9 @@ jobs:
297297
cat /tmp/release-notes.md
298298
299299
- name: Release
300-
working-directory: cli
301300
run: |
302301
azd x release \
302+
--cwd cli \
303303
--repo "${{ github.repository }}" \
304304
--version "${{ steps.version.outputs.next }}" \
305305
--notes-file /tmp/release-notes.md \
@@ -308,14 +308,13 @@ jobs:
308308
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
309309

310310
- name: Update registry
311-
working-directory: cli
312311
run: |
313312
azd x publish \
314-
--registry ../registry.json \
313+
--cwd cli \
314+
--registry registry.json \
315315
--version "${{ steps.version.outputs.next }}" \
316316
--repo "${{ github.repository }}"
317317
318-
cd ..
319318
git config user.name "github-actions[bot]"
320319
git config user.email "github-actions[bot]@users.noreply.github.com"
321320
git add registry.json

0 commit comments

Comments
 (0)