Skip to content

Commit 30db0be

Browse files
committed
fix(cd): should not cd into http-server on cargo tag
1 parent 33c114c commit 30db0be

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ jobs:
113113
run: |
114114
git config --global user.name 'github-actions[bot]'
115115
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
116-
cd ./src/http-server
117116
if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
118117
echo "CRATE_VERSION=$(cargo tag --no-tag --no-commit -p=v ${{ inputs.version }})" >> $GITHUB_ENV
119118
else
@@ -170,15 +169,14 @@ jobs:
170169

171170
- name: Install Rust Binaries
172171
run: cargo binstall -y --force cargo-tag
173-
172+
174173
- name: Retrieve Git Commit SHA
175174
run: echo "GIT_COMMIT_SHA7=$(git rev-parse --short ${{ github.sha }})" >> $GITHUB_ENV
176175

177176
- name: Commit Version Bump
178177
run: |
179178
git config --global user.name 'github-actions[bot]'
180179
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
181-
cd ./src/http-server
182180
if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
183181
echo "CRATE_VERSION=$(cargo tag -p=v ${{ inputs.version }})" >> $GITHUB_ENV
184182
else

0 commit comments

Comments
 (0)