From 1c84bdee9461d6cfeb3b599673a30c08b3603e92 Mon Sep 17 00:00:00 2001 From: Michael Onken Date: Fri, 5 Jan 2024 23:59:29 +0100 Subject: [PATCH] Try fix short SHA --- .github/workflows/cmake-win.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake-win.yml b/.github/workflows/cmake-win.yml index 14dee522cd..2eb8eb03d5 100644 --- a/.github/workflows/cmake-win.yml +++ b/.github/workflows/cmake-win.yml @@ -51,7 +51,7 @@ jobs: run: | $NOW=& Get-Date -format yyyy-MM-dd echo "NOW=$NOW" >> $env:GITHUB_ENV - git_hash=$(git rev-parse --short ${{ github.sha }}) + git_hash=$(git.exe rev-parse --short ${{ github.sha }}) echo "COMMIT_SHORT_SHA=$git_hash" >> $env:GITHUB_ENV - name: Configure project