Skip to content

Commit 8b1cb55

Browse files
committed
test
1 parent c4d0d30 commit 8b1cb55

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tools/push-to-arduino.sh

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
#!/bin/bash
2-
source ./tools/config.sh
2+
3+
source ./tools/install-arduino.sh
34

45
if [ -x $GITHUB_TOKEN ]; then
56
echo "ERROR: GITHUB_TOKEN was not defined"
67
exit 1
78
fi
89

9-
if ! [ -d "$AR_COMPS/arduino" ]; then
10-
echo "ERROR: Target arduino folder does not exist!"
11-
exit 1
12-
fi
13-
1410
# setup git for pushing
1511
git config --global github.user "$GITHUB_ACTOR"
1612
git config --global user.name "$GITHUB_ACTOR"

0 commit comments

Comments
 (0)