Skip to content

Commit f8038f7

Browse files
committed
Fix: streamline build and packaging steps in release workflow
1 parent 9aabd2a commit f8038f7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ jobs:
121121
run: |
122122
export EXTENSION_ID="jongio.azd.app"
123123
export EXTENSION_VERSION="${{ steps.version.outputs.next }}"
124-
azd x build --all --cwd cli
124+
azd x build --all
125125
126126
- name: Package
127-
run: azd x pack --cwd cli
127+
run: azd x pack
128128

129129
- name: Extract release notes
130130
id: release_notes
@@ -144,6 +144,7 @@ jobs:
144144
145145
- name: Release
146146
run: |
147+
cd ..
147148
azd x release \
148149
--cwd cli \
149150
--repo "${{ github.repository }}" \
@@ -155,9 +156,10 @@ jobs:
155156

156157
- name: Update registry
157158
run: |
159+
cd ..
158160
azd x publish \
159161
--cwd cli \
160-
--registry ../registry.json \
162+
--registry registry.json \
161163
--version "${{ steps.version.outputs.next }}" \
162164
--repo "${{ github.repository }}"
163165

0 commit comments

Comments
 (0)