From b6e86ee4e8da52337e3d9651bdc718994d3cc5ec Mon Sep 17 00:00:00 2001 From: Jon Jensen Date: Wed, 8 Oct 2025 16:00:56 -0600 Subject: [PATCH] fix for windows, test all platforms --- .github/workflows/test.yml | 7 ++++++- action.yml | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 673eb21..4d34576 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,11 @@ name: Test on: workflow_call jobs: test: - runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + runner: [ubuntu-latest, macos-latest, windows-latest] + runs-on: ${{ matrix.runner }} env: expected: |- here is some "text". this is not a newline: [\n] @@ -19,6 +23,7 @@ jobs: - name: Validate outputs env: actual: ${{ fromJSON(steps.parrot.outputs.outputs).echo }} + shell: bash run: | if [[ "$expected" != "$actual" ]]; then echo "::error::output mismatch! expected=$expected, actual=$actual" diff --git a/action.yml b/action.yml index 7844eb7..268ea91 100644 --- a/action.yml +++ b/action.yml @@ -28,7 +28,7 @@ runs: using: composite steps: - run: rm -rf ./.tmp-dynamic-uses - shell: sh + shell: bash - name: Run id: run uses: ${{ inputs.uses }}