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

Skip to content

Add changes from master #129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
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