Skip to content

Commit

Permalink
GitHub actions fix for commit 9057809
Browse files Browse the repository at this point in the history
  • Loading branch information
Ambient-Impact committed May 25, 2024
1 parent 9057809 commit e20a1db
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,20 @@ jobs:
# Documentation states a max nesting level of 3.
#
# @see https://jqlang.github.io/jq/manual/
#
# @see https://github.com/marketplace/actions/run-jq
- name: Read existing Drupal scaffold config from composer.json
uses: sergeysova/jq-action@v2
id: drupal-scaffold-config
with:
cmd: |
composer config extra.drupal-scaffold.file-mapping | \
jq --compact-output 'del(."[web-root]/.ht.router.php")'
- name: Scaffold .ht.router.php for PHPUnit tests
run: composer config extra.drupal-scaffold.file-mapping --json \
$(composer config extra.drupal-scaffold.file-mapping | \
jq --compact-output 'del(."[web-root]/.ht.router.php")')
run: |
composer config extra.drupal-scaffold.file-mapping --json \
${{ steps.drupal-scaffold-config.outputs.value }}
- name: Install Composer dependencies
run: composer install --no-progress --prefer-dist --optimize-autoloader
Expand Down

0 comments on commit e20a1db

Please sign in to comment.