Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down