We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36f5280 commit b979a58Copy full SHA for b979a58
.github/workflows/jekyll-gh-pages.yml
@@ -31,8 +31,8 @@ jobs:
31
for s in $(find -type f -name "*.ics" -print); do
32
echo "::group::Test file $s";
33
echo "Make http request"
34
- echo "::debug::$response"
35
response=$(curl -sS -F "jform[task]=validate" -F "jform[ical_file]=@$s" "https://icalendar.org/validator.html?json=1")
+ echo "::debug::$response"
36
error_count=$(echo "$response" | jq '.totals.errors')
37
warning_count=$(echo "$response" | jq '.totals.warnings')
38
echo "File has $error_count errors and $warning_count warnings."
0 commit comments