Skip to content

Commit 3e7e4fc

Browse files
committed
runner not allowed out of steps
1 parent 35c6606 commit 3e7e4fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ on:
1111
jobs:
1212
build:
1313
runs-on: ${{ matrix.os }}
14-
container: ${{ (runner.os == 'Linux' && 'alpine:3.12') || '' }}
14+
container: ${{ (startsWith(matrix.os, 'ubuntu' && 'alpine:3.12') || '' }}
1515
defaults:
1616
run:
17-
shell: ${{ (runner.os == 'Windows' && 'bash') || 'sh' }}
17+
shell: ${{ (startsWith(matrix.os,'windows') && 'bash') || 'sh' }}
1818
strategy:
1919
fail-fast: false
2020
matrix:

0 commit comments

Comments
 (0)