mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 02:58:17 +00:00
ci: Fix logic to pass less than bool
This commit is contained in:
parent
85c1a022b6
commit
f0006f3d3d
1 changed files with 2 additions and 2 deletions
4
.github/workflows/pytest-workflow.yml
vendored
4
.github/workflows/pytest-workflow.yml
vendored
|
@ -26,7 +26,7 @@ jobs:
|
|||
id: yq_modules
|
||||
run: |
|
||||
output=$(echo ${{ steps.filter.outputs.changes }} | yq e 'length' -)
|
||||
echo "::set-output name=proceed::$(if (test $output -lt 42); then echo 0; fi)"
|
||||
echo "::set-output name=proceed::$(if (test $output -lt 42); then return 0 else return 1 fi)"
|
||||
|
||||
|
||||
|
||||
|
@ -114,7 +114,7 @@ jobs:
|
|||
runs-on: ubuntu-20.04
|
||||
name: Test all modules
|
||||
needs: changes
|
||||
if: needs.changes.outputs.proceed == '1'
|
||||
if: needs.changes.outputs.proceed != '0'
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
|
Loading…
Reference in a new issue