build: set proper shell for the hash step

This commit is contained in:
zhom
2025-06-09 19:19:57 +04:00
parent 615d7b8c8a
commit dd9347d429
+5 -1
View File
@@ -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