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