Skip to content

Commit

Permalink
Merge branch '1.4' into 1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 5, 2023
2 parents d04e892 + 4339e4e commit c33bd92
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ jobs:
SS_DATABASE_CLASS="SQLite3Database"
SS_DATABASE_USERNAME="root"
SS_DATABASE_PASSWORD=""
SS_SQLITE_DATABASE_PATH=":memory:'"
SS_SQLITE_DATABASE_PATH=":memory:"
EOF
fi
cat << EOF >> .env
Expand Down Expand Up @@ -851,7 +851,9 @@ jobs:
BRANCH_MAJOR=${BASH_REMATCH[0]}
echo "Checking for supported modules in CMS $CMS_MAJOR against branch major $BRANCH_MAJOR"
curl -s -o __modules.json https://raw.githubusercontent.com/silverstripe/supported-modules/$CMS_MAJOR/modules.json
if ! jq -e '.' __modules.json >/dev/null 2>&1; then
# If we can't parse the JSON at all, $MODULES will be an empty string and that means we couldn't fetch the file.
MODULES=$(jq -e '.' __modules.json) || true
if [[ $MODULES == "" ]]; then
# If there is some error getting the file (e.g. 404 if $CMS_MAJOR is some value we don't have a file for),
# the error will be in the __modules.json file - importantly, not in JSON format.
echo "Cannot parse supported-modules JSON. Aborting. The content we tried to parse was:"
Expand Down

0 comments on commit c33bd92

Please sign in to comment.