diff --git a/.github/workflows/cpp-packaging.yml b/.github/workflows/cpp-packaging.yml index 8f04020fed..463a88485c 100644 --- a/.github/workflows/cpp-packaging.yml +++ b/.github/workflows/cpp-packaging.yml @@ -663,6 +663,7 @@ jobs: # Workaround for https://github.com/GoogleCloudPlatform/github-actions/issues/100 # Must be run after the Python setup action - name: Set CLOUDSDK_PYTHON (Windows) + shell: bash if: runner.os == 'Windows' && !cancelled() run: echo "CLOUDSDK_PYTHON=${{env.pythonLocation}}\python.exe" >> $GITHUB_ENV - name: Install Cloud SDK diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index f778ba3b8c..e136fd908c 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -123,6 +123,7 @@ jobs: # Workaround for https://github.com/GoogleCloudPlatform/github-actions/issues/100 # Must be run after the Python setup action - name: Set CLOUDSDK_PYTHON (Windows) + shell: bash if: startsWith(matrix.os, 'windows') && !cancelled() run: echo "CLOUDSDK_PYTHON=${{env.pythonLocation}}\python.exe" >> $GITHUB_ENV - name: Install Cloud SDK