Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ jobs:
- name: "Check for common dependencies"
if: ${{ !cancelled() && hashFiles(format('{0}/composer.json', inputs.plugin-key)) != '' }}
run: |
if [[ ! command -v jq &> /dev/null ]]; then
echo -e "\033[0;33mInstalling 'jq'...\033[0m"
sudo apt update && sudo apt install -y jq
fi
echo -e "\033[0;33mChecking for common dependencies between plugin and core...\033[0m"
PLUGIN_DEPS=$(composer show --direct --format=json | jq -r '.installed[] | .name')
CORE_DEPS=$(cd ../../ && composer show --direct --format=json | jq -r '.installed[] | .name')
Expand Down