Skip to content

Commit bd38e43

Browse files
authored
Refactor CI conditions for Windows and non-Windows
1 parent a5fa242 commit bd38e43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
svn --version
6363
6464
- name: Build project and run tests (non Win)
65-
if: ${{ matrix.runs-on != 'windows-latest' }}
65+
if: ${{ !contains(matrix.runs-on, 'windows') }}
6666
run: |
6767
./updatenC.sh # Pull other repos, e.g. NeuroML v1 examples from SourceForge
6868
# make
@@ -73,7 +73,7 @@ jobs:
7373
./nC.sh -v
7474
7575
- name: Build project and run tests (Win)
76-
if: ${{ matrix.runs-on == 'windows-latest' }}
76+
if: ${{ contains(matrix.runs-on, 'windows') }}
7777
run: |
7878
./updatenC.bat # Pull other repos, e.g. NeuroML v1 examples from SourceForge
7979
echo "Everything pulled..."

0 commit comments

Comments
 (0)