Skip to content

Commit 2e18675

Browse files
committed
refactor conditionals
1 parent a99eb7f commit 2e18675

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/distro-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,16 @@ jobs:
4343
submodules: true
4444

4545
- name: Run with sourced profile (only for gentoo)
46-
if: contains(${{ matrix.config.name }}, 'gentoo')
46+
if: contains(matrix.config.name, 'gentoo')
4747
run: |
4848
source /etc/profile \
4949
&& conan profile detect && conan install . --build=missing \
5050
&& bazel test //src/... //tests/... --config=linux-opt
5151
5252
- name: Install conan dependencies
53-
if: ! contains(${{ matrix.config.name }}, 'gentoo')
53+
if: ! contains(matrix.config.name, 'gentoo')
5454
run: conan profile detect && conan install . --build=missing
5555

5656
- name: Build and test on Release profile
57-
if: ! contains(${{ matrix.config.name }}, 'gentoo')
57+
if: ! contains(matrix.config.name, 'gentoo')
5858
run: bazel test //src/... //tests/... --config=linux-opt

0 commit comments

Comments
 (0)