From dd9347d42950c2b92bf8054339b83edb6cab4651 Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Mon, 9 Jun 2025 19:19:57 +0400 Subject: [PATCH] build: set proper shell for the hash step --- .github/workflows/rolling-release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rolling-release.yml b/.github/workflows/rolling-release.yml index 2496872..5271a50 100644 --- a/.github/workflows/rolling-release.yml +++ b/.github/workflows/rolling-release.yml @@ -138,7 +138,11 @@ jobs: - name: Get commit hash id: commit - run: echo "hash=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT + shell: bash + run: | + COMMIT_HASH=$(echo "${GITHUB_SHA}" | cut -c1-7) + echo "hash=${COMMIT_HASH}" >> $GITHUB_OUTPUT + echo "Generated commit hash: ${COMMIT_HASH}" - name: Build Tauri app uses: tauri-apps/tauri-action@v0