Skip to content

Commit

Permalink
Add a missing step.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Jan 20, 2025
1 parent 7630d72 commit 566d5cf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/reusable-phpunit-tests-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ on:
type: boolean
default: false
env:
COMPOSER_INSTALL: ${{ false }}
LOCAL_PHP: ${{ inputs.php }}-fpm
LOCAL_PHPUNIT: ${{ inputs.phpunit && inputs.phpunit || inputs.php }}-fpm
LOCAL_PHP_MEMCACHED: ${{ inputs.memcached }}
Expand Down Expand Up @@ -111,6 +112,11 @@ jobs:
- name: Build WordPress
run: npm run build

- name: Get composer cache directory
if: ${{ env.COMPOSER_INSTALL == true }}
id: composer-cache
run: echo composer_dir="$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT"

Check failure

Code scanning / octoscan

Write to "$GITHUB_OUTPUT" in a bash script. Error

Write to "$GITHUB_OUTPUT" in a bash script.

- name: Cache Composer dependencies
if: ${{ env.COMPOSER_INSTALL == true }}
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
Expand Down

0 comments on commit 566d5cf

Please sign in to comment.