From 292e4ede8be693c566057a716b7a7944e8c0707c Mon Sep 17 00:00:00 2001 From: Scott Andrews Date: Tue, 20 Oct 2026 23:56:30 -0400 Subject: [PATCH] Use bash for windows ci build shell Signed-off-by: Scott Andrews --- .github/workflows/ci.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index cc47e49..1067a4f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -119,6 +119,11 @@ jobs: target: aarch64-pc-windows-msvc # each runner builds for its own platform, linux builds are static with musl runs-on: ${{ matrix.os }} + # bash on windows too, where pwsh is the default, the steps read CLI_BIN from the environment. The + # windows packaging steps are pwsh, reading it as `${env:CLI_BIN}`. + defaults: + run: + shell: bash env: CLI_BIN: ${{ needs.settings.outputs.cli }} steps: @@ -154,7 +159,6 @@ jobs: - name: Smoke test cli # the repository's scripts/smoke-test-cli.sh runs the unpacked cli, given its path and a # directory for its files - shell: bash run: | if [ ! -f scripts/smoke-test-cli.sh ] ; then echo "::warning::no scripts/smoke-test-cli.sh to smoke test ${CLI_BIN}"