File tree 2 files changed +11
-2
lines changed
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 8
8
runs-on : ubuntu-latest
9
9
10
10
steps :
11
- - uses : actions/checkout@v1
12
- - uses : actions/setup-python@v1
11
+ - uses : actions/checkout@v3
12
+ - uses : actions/setup-python@v4
13
13
with :
14
14
python-version : ' 3.x'
15
15
- name : pre-install
Original file line number Diff line number Diff line change @@ -32,3 +32,12 @@ echo $GITHUB_WORKSPACE/bin >> $GITHUB_PATH
32
32
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh
33
33
arduino-cli config init > /dev/null
34
34
arduino-cli core update-index > /dev/null
35
+
36
+ # warn if this library does not have arduino-library tag in its topic
37
+ if [ $GITHUB_REPOSITORY != " adafruit/ci-arduino" ]; then
38
+ repo_topics=$( curl --request GET --url " https://api.github.com/repos/$GITHUB_REPOSITORY " | jq -r ' .topics[]' | xargs)
39
+ if [[ ! $repo_topics =~ " arduino-library" ]]; then
40
+ echo " ::warning::arduino-library is not found in this repo topics. Please add this tag in repo About"
41
+ fi
42
+ fi
43
+
You can’t perform that action at this time.
0 commit comments