Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ESP32 Arduino Lib Builder [![Build Status](https://travis-ci.org/espressif/esp32-arduino-lib-builder.svg?branch=master)](https://travis-ci.org/espressif/esp32-arduino-lib-builder)
# ESP32 Arduino Lib Builder [![ESP32 Arduino Libs CI](https://github.com/espressif/esp32-arduino-lib-builder/actions/workflows/push.yml/badge.svg)](https://github.com/espressif/esp32-arduino-lib-builder/actions/workflows/push.yml)

This repository contains the scripts that produce the libraries included with esp32-arduino.

Expand Down
3 changes: 2 additions & 1 deletion tools/cron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ if [ ! "$GITHUB_EVENT_NAME" == "schedule" ]; then
fi

git checkout "$IDF_BRANCH" #local branches should match what the matrix wants to build
DEPLOY_OUT=1
source ./build.sh
bash ./tools/push-to-arduino.sh
# bash ./tools/push-to-arduino.sh
14 changes: 9 additions & 5 deletions tools/repository_dispatch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ commit=`echo "$payload" | jq -r '.commit'`
builder=`echo "$payload" | jq -r '.builder'`
arduino=`echo "$payload" | jq -r '.arduino'`

echo "Action: $action, Branch: $branch, Tag: $tag, Commit: $commit, Builder: $builder, Arduino: $arduino"
echo "Action: $action, Branch: $branch, Tag: $tag, Commit: $commit, Builder: $builder, Arduino: $arduino, Actor: $GITHUB_ACTOR"

if [ ! "$action" == "deploy" ] && [ ! "$action" == "build" ]; then
echo "Bad Action $action"
Expand All @@ -29,7 +29,7 @@ else
commit=""
if [ ! "$tag" == "" ] && [ ! "$tag" == "null" ]; then
export IDF_TAG="$tag"
if [ ! "$branch" == "" ] && [ ! "$branch" == "null" ]; then
elif [ ! "$branch" == "" ] && [ ! "$branch" == "null" ]; then
export IDF_BRANCH="$branch"
fi
fi
Expand All @@ -42,8 +42,12 @@ if [ ! "$arduino" == "" ] && [ ! "$arduino" == "null" ]; then
export AR_BRANCH="$arduino"
fi

source ./build.sh

if [ "$action" == "deploy" ]; then
bash ./tools/push-to-arduino.sh
DEPLOY_OUT=1
fi

source ./build.sh

# if [ "$action" == "deploy" ]; then
# bash ./tools/push-to-arduino.sh
# fi