actions BUGFIX expression syntax
@@ -29,7 +29,7 @@ jobs:
name: ${{ matrix.config.name }}
runs-on: ${{ matrix.config.os }} # mac-OS does not implement robust mutexes so it is not supported
needs: git-branch
- if: matrix.config.branches != 'devel-only' || needs.git-branch.outputs.branch-name == 'devel'
+ if: ${{ matrix.config.branches != 'devel-only' || needs.git-branch.outputs.branch-name == 'devel' }}
strategy:
fail-fast: false
matrix:
@@ -164,7 +164,7 @@ jobs:
CC=${{ matrix.config.cc }} cmake ..
make
sudo make install
- if: matrix.config.name == 'Debug, Ubuntu 18.04, gcc'
+ if: ${{ matrix.config.name == 'Debug, Ubuntu 18.04, gcc' }}
- name: Deps-coverity
shell: bash
@@ -175,13 +175,13 @@ jobs:
tar xzf coverity-tools.tar.gz --strip 1 -C coverity-tools
env:
TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
- if: matrix.config.name == 'Coverity'
+ if: ${{ matrix.config.name == 'Coverity' }}
- name: Deps-coverity-fix-permissions
run: |
chmod go-w $HOME
sudo chmod -R go-w /usr/share
- if: matrix.config.name == 'Coverity'
+ if: ${{ matrix.config.name == 'Coverity' }}
- name: Deps-libyang
shell: bash
@@ -229,10 +229,10 @@ jobs:
https://scan.coverity.com/builds?project=sysrepo%2Fsysrepo
env:
TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
- if: matrix.config.name == 'Coverity'
+ if: ${{ matrix.config.name == 'Coverity' }}
- name: Upload to Codecov.io
shell: bash
working-directory: ${{ github.workspace }}/build
run: bash <(curl -s https://codecov.io/bash)
- if: matrix.config.name == 'Codecov'
+ if: ${{ matrix.config.name == 'Codecov' }}
