summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci-build.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml
index 0b64deda..0c964501 100644
--- a/.github/workflows/ci-build.yml
+++ b/.github/workflows/ci-build.yml
@@ -38,8 +38,9 @@ jobs:
run: php -v && composer -V && go version
- name: Debug if needed
- if: ${{ secrets.DEBUG }} == 'true' || ${{ env.DEVUG }} == 'true'
- run: env && go env
+ env:
+ DEBUG: ${{ secrets.DEBUG }}
+ run: if [[ "$DEBUG" == "true" ]]; then env && go env; fi
- name: Syntax check only (lint)
run: find ./src/ -name "*.php" -print0 | xargs -0 -n1 -P8 php -l