forked from espressif/arduino-esp32
ci: Miscellaneous improvements (#6132)
Cache downloaded tools. Cancel duplicate jobs. Use current repo when linking the core, this allows users to test their code when creating PRs against their forks (for instance an error in an example sketch will build successfully in a fork workflow.) Cache Arduino IDE. Add workflow_dispatch to be able to trigger the workflow manually.
This commit is contained in:
committed by
GitHub
parent
c6e30e0027
commit
77756d8a06
@ -15,7 +15,7 @@ if [ ! -d "$ARDUINO_ESP32_PATH" ]; then
|
||||
pip install requests > /dev/null
|
||||
fi
|
||||
|
||||
if [ "$GITHUB_REPOSITORY" == "espressif/arduino-esp32" ]; then
|
||||
if [ ! -z "$GITHUB_REPOSITORY" ]; then
|
||||
echo "Linking Core..."
|
||||
ln -s $GITHUB_WORKSPACE esp32
|
||||
else
|
||||
|
Reference in New Issue
Block a user