Fix matchers setup when action is called twice

This commit is contained in:
Shivam Mathur
2020-10-17 05:01:32 +05:30
parent e9595da9ac
commit 4244b92ac6
3 changed files with 3 additions and 3 deletions

View File

@ -308,5 +308,5 @@ scan_dir=$(php --ini | grep additional | sed -e "s|.*: s*||")
sudo mkdir -p "$ext_dir"
semver=$(php -v | head -n 1 | cut -f 2 -d ' ')
if [[ ! "$version" =~ $old_versions ]]; then configure_pecl >/dev/null 2>&1; fi
sudo mv "$dist"/../src/configs/*.json "$RUNNER_TOOL_CACHE/"
sudo cp "$dist"/../src/configs/*.json "$RUNNER_TOOL_CACHE/"
add_log "$tick" "PHP" "$status PHP $semver"