From 66784ba8e51674e627a318107943c8be601e45f5 Mon Sep 17 00:00:00 2001 From: Tonko Mulder Date: Tue, 5 Dec 2023 10:20:11 +0100 Subject: [PATCH 1/2] use `runner.debug` as conditional --- .github/workflows/build-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-ci.yml b/.github/workflows/build-ci.yml index e69b2bfb9..690b79d61 100644 --- a/.github/workflows/build-ci.yml +++ b/.github/workflows/build-ci.yml @@ -55,11 +55,11 @@ jobs: tools: "composer" - name: "Show PHP version" - if: ${{ secrets.DEBUG == 'true' }} + if: ${{ runner.debug }} run: "php -v && composer -V" - name: "Show Docker version" - if: ${{ secrets.DEBUG == 'true' }} + if: ${{ runner.debug }} run: "docker version && env" - name: "Download Composer cache dependencies from cache" From c4ae698563625ae2d065888ad368c83abcb7f3b7 Mon Sep 17 00:00:00 2001 From: Tonko Mulder Date: Tue, 5 Dec 2023 10:50:11 +0100 Subject: [PATCH 2/2] remove redundant debug step --- .github/workflows/build-ci.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/build-ci.yml b/.github/workflows/build-ci.yml index 690b79d61..c6cc2588b 100644 --- a/.github/workflows/build-ci.yml +++ b/.github/workflows/build-ci.yml @@ -54,10 +54,6 @@ jobs: coverage: "xdebug" tools: "composer" - - name: "Show PHP version" - if: ${{ runner.debug }} - run: "php -v && composer -V" - - name: "Show Docker version" if: ${{ runner.debug }} run: "docker version && env"