From 30db0bea55afeafb7ee68b77a3d01670639bbba0 Mon Sep 17 00:00:00 2001 From: Leo Borai Date: Sun, 28 Dec 2025 01:18:36 +0100 Subject: [PATCH] fix(cd): should not `cd` into `http-server` on `cargo tag` --- .github/workflows/release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c51eca18..97f4b323 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -113,7 +113,6 @@ jobs: run: | git config --global user.name 'github-actions[bot]' git config --global user.email 'github-actions[bot]@users.noreply.github.com' - cd ./src/http-server if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then echo "CRATE_VERSION=$(cargo tag --no-tag --no-commit -p=v ${{ inputs.version }})" >> $GITHUB_ENV else @@ -170,7 +169,7 @@ jobs: - name: Install Rust Binaries run: cargo binstall -y --force cargo-tag - + - name: Retrieve Git Commit SHA run: echo "GIT_COMMIT_SHA7=$(git rev-parse --short ${{ github.sha }})" >> $GITHUB_ENV @@ -178,7 +177,6 @@ jobs: run: | git config --global user.name 'github-actions[bot]' git config --global user.email 'github-actions[bot]@users.noreply.github.com' - cd ./src/http-server if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then echo "CRATE_VERSION=$(cargo tag -p=v ${{ inputs.version }})" >> $GITHUB_ENV else