We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb3e1d3 commit ece43c9Copy full SHA for ece43c9
actions_install.sh
@@ -37,7 +37,8 @@ arduino-cli core update-index > /dev/null
37
case "$GITHUB_REPOSITORY" in
38
(*/ci-arduino|*/Adafruit_Learning_System_Guides) ;;
39
(*)
40
- repo_topics=$($(curl --request GET --url "https://api.github.com/repos/$GITHUB_REPOSITORY" || []) | jq -r '.topics[]')
+ repo_topics=$(curl -f --request GET --url "https://api.github.com/repos/$GITHUB_REPOSITORY" || echo '{"topics":[]}')
41
+ repo_topics=$(echo $repo_topics | jq -r '.topics[]' )
42
if [[ ! $repo_topics =~ "arduino-library" ]]; then
43
echo "::warning::arduino-library is not found in this repo topics. Please add this tag in repo About"
44
fi
0 commit comments