From 86c76286ffd9e895070191f22afbe8105fbc8cff Mon Sep 17 00:00:00 2001 From: Torkel Rogstad Date: Sat, 9 Nov 2024 15:06:37 +0100 Subject: [PATCH] ci: use bash for windows --- .github/workflows/build-release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index e76d12a8c96be..e0da7bed2e383 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -121,6 +121,7 @@ jobs: cmake --build . -j $env:NUMBER_OF_PROCESSORS --config Release - name: 'Set environment variables: version number' + shell: bash run: | BITCOIN_PATCHED_VERSION=$(grep -oP "(?<=^CMAKE_PROJECT_VERSION:STATIC=).+(?=)" build/CMakeCache.txt) echo "BITCOIN_PATCHED_VERSION=$BITCOIN_PATCHED_VERSION" >> "$GITHUB_ENV"