Skip to content

Commit

Permalink
Add quotes around command
Browse files Browse the repository at this point in the history
  • Loading branch information
kraftbj committed Jan 21, 2025
1 parent c213898 commit 31a8d88
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,11 @@ jobs:
echo "Supposed to run tests against WordPress $WORDPRESS_TAG, so setting roots/wordpress and roots/wordpress-no-content to \"$INSVER\""
# Composer seems to sometimes have issues with deleting the wordpress dir on its own, so do it manually first.
rm -rf "tools/php-test-env/wordpress"
composer --working-dir="tools/php-test-env" require --dev roots/wordpress="$INSVER" roots/wordpress-no-content="$INSVER"
composer --working-dir="tools/php-test-env" require --dev "roots/wordpress:$INSVER" "roots/wordpress-no-content:$INSVER"
fi
fi
echo "::endgroup::"
- name: Detect changed projects
id: changed
run: |
Expand Down Expand Up @@ -221,7 +219,7 @@ jobs:
echo "Supposed to run tests against WordPress $WORDPRESS_TAG, so setting roots/wordpress and roots/wordpress-no-content to \"$INSVER\""
# Composer seems to sometimes have issues with deleting the wordpress dir on its own, so do it manually first.
rm -rf "$DIR/wordpress"
composer --working-dir="$DIR" require --dev roots/wordpress="$INSVER" roots/wordpress-no-content="$INSVER"
composer --working-dir="$DIR" require --dev "roots/wordpress:$INSVER" "roots/wordpress-no-content:$INSVER"
fi
fi
fi
Expand Down

0 comments on commit 31a8d88

Please sign in to comment.