Update .github/actions/conditional/conditional.sh

This commit is contained in:
Stian Thorgersen 2023-09-06 12:27:53 +02:00
parent c88b0bed3e
commit b0a85a884b

View file

@ -39,7 +39,7 @@ for C in "${CONDITIONS[@]}"; do
PATTERN="${CONDITION[0]}"
if [[ "$PATTERN" =~ testsuite::* ]]; then
PATTERN=$(cat testsuite/integration-arquillian/tests/base/testsuites/database-suite | grep -v -e '^[[:space:]]*$' | grep -v '^$' | sed -z 's/\n$//g' | sed -z 's/\n/|/g' | sed 's/\./\//g' | sed 's/\*\*/*/g')
PATTERN=$(cat testsuite/integration-arquillian/tests/base/testsuites/database-suite | grep -v -e '^[[:space:]]*$' | sed -z 's/\n$//g' | sed -z 's/\n/|/g' | sed 's/\./\//g' | sed 's/\*\*/*/g')
fi
# Convert pattern to regex