Skip to content

Commit e54a428

Browse files
hm?
1 parent 2065d7a commit e54a428

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ jobs:
4242
4343
- id: set-os-matrix
4444
run: |
45-
os_input="${{ inputs.os }}"
45+
os_input="${{ inputs.os || 'ubuntu-latest' }}"
4646
# -R reads raw string, split(",") creates array, map(gsub(...)) trims whitespace, -c outputs compact JSON
47-
echo "os=$(echo '${{ inputs.os }}' | jq -R -c 'split(",") | map(gsub("^ *| *$"; ""))')" >> "$GITHUB_OUTPUT"
47+
echo "os=$(echo '${{ inputs.os || 'ubuntu-latest' }}' | jq -R -c 'split(",") | map(gsub("^ *| *$"; ""))')" >> "$GITHUB_OUTPUT"
4848
4949
test:
5050
name: Python ${{ matrix.python-version }}, Django ${{ matrix.django-version }} (${{ matrix.os }})

0 commit comments

Comments
 (0)