From 8c063e203418650395f870249826c9ae797b4d26 Mon Sep 17 00:00:00 2001 From: Torrey Payne <11740989+torreypayne@users.noreply.github.com> Date: Fri, 25 Sep 2026 23:09:21 +0000 Subject: [PATCH] chore(ci): run toys ci under bash so the Windows leg tests again On windows-latest the default run shell is pwsh, where "$VAR" reads an unset PowerShell variable instead of the environment variable. Since #62 moved the event values into env:, the Windows leg has passed empty --github-event-name/--github-event-payload values to toys ci, which then falls back to a local diff and tests nothing. Set shell: bash on the step. Linux and macOS already default to bash. --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d5985fa..89a0927 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,5 +78,8 @@ jobs: GITHUB_EVENT_NAME: ${{ github.event_name }} GITHUB_EVENT_PATH: ${{ github.event_path }} EXTRA_FLAGS: ${{ github.event.inputs.flags }} + # Force bash: windows-latest defaults to pwsh, where "$VAR" reads an + # (unset) PowerShell variable instead of the env var above. + shell: bash run: | toys ci -v ${{ matrix.task }} --github-event-name="$GITHUB_EVENT_NAME" --github-event-payload="$GITHUB_EVENT_PATH" $EXTRA_FLAGS