Skip to content

Commit c39bfab

Browse files
authored
Update precommit.yml
1 parent bbb8c3f commit c39bfab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/precommit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ jobs:
4141
- uses: actions/checkout@v3
4242

4343
- name: install infrastructure (Linux)
44-
if: ${{ matrix.os ~= ubuntu-* }}
44+
if: startsWith( matrix.os, 'ubuntu-' )
4545
run: |
4646
sudo apt-get install python3-dev python3-numpy python3-packaging
4747
sudo ln -s /usr/lib/llvm-10/include/c++/v1 /usr/include/c++/v1
4848
4949
- name: install infrastructure (MacOS)
50-
if: ${{ matrix.os ~= macos-* }}
50+
if: startsWith( matrix.os, 'macos-' )
5151
run: sudo -H pip3 install numpy packaging
5252

5353
- name: show bazel setup

0 commit comments

Comments
 (0)