Skip to content

Commit 13d7f62

Browse files
authored
Update README.md
1 parent bd647ee commit 13d7f62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
Modern [GitHub Actions Ubuntu images](https://github.com/actions/runner-images/tree/main/images/ubuntu) now include `xvfb` so this Action could be replaced by:
2828

2929
```yml
30-
- if: startsWith(matrix.os, 'ubuntu')
30+
- if: runner.os == 'Linux'
3131
run: xvfb-run npm test
32-
- if: "!startsWith(matrix.os, 'ubuntu')"
32+
- if: ${{ ! runner.os == 'Linux' }}
3333
run: npm test
3434
```

0 commit comments

Comments
 (0)