Skip to content

Commit 6aa85b6

Browse files
authored
Merge branch 'master' into release/v4.4
2 parents 8fe3a0b + 685f87d commit 6aa85b6

File tree

5 files changed

+17
-9
lines changed

5 files changed

+17
-9
lines changed

.github/workflows/cron.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
strategy:
2222
matrix:
23-
idf_branch: [release/v4.4] #, release/v3.3]
23+
idf_branch: [release/v5.1, release/v4.4] #, release/v3.3]
2424
steps:
2525
- uses: actions/checkout@v1
2626
- name: Install dependencies

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 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)
1+
# 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)
22

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

tools/copy-libs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ for item; do
359359
ipath="$item"
360360
fname=`basename "$ipath"`
361361
dname=`basename $(dirname "$ipath")`
362-
if [[ "$fname" == "main" && "$dname" == "esp32-arduino-lib-builder" ]]; then
362+
if [[ "$fname" == "main" && "$dname" == $(basename "$PWD") ]]; then
363363
continue
364364
fi
365365
while [[ "$dname" != "components" && "$dname" != "managed_components" && "$dname" != "build" ]]; do

tools/cron.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ if [ ! "$GITHUB_EVENT_NAME" == "schedule" ]; then
66
fi
77

88
git checkout "$IDF_BRANCH" #local branches should match what the matrix wants to build
9+
DEPLOY_OUT=1
910
source ./build.sh
10-
bash ./tools/push-to-arduino.sh
11+
# bash ./tools/push-to-arduino.sh

tools/repository_dispatch.sh

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ EVENT_JSON=`cat "$GITHUB_EVENT_PATH"`
99
action=`echo "$EVENT_JSON" | jq -r '.action'`
1010
payload=`echo "$EVENT_JSON" | jq -r '.client_payload'`
1111
branch=`echo "$payload" | jq -r '.branch'`
12+
tag=`echo "$payload" | jq -r '.tag'`
1213
commit=`echo "$payload" | jq -r '.commit'`
1314
builder=`echo "$payload" | jq -r '.builder'`
1415
arduino=`echo "$payload" | jq -r '.arduino'`
1516

16-
echo "Action: $action, Branch: $branch, Commit: $commit, Builder: $builder"
17+
echo "Action: $action, Branch: $branch, Tag: $tag, Commit: $commit, Builder: $builder, Arduino: $arduino, Actor: $GITHUB_ACTOR"
1718

1819
if [ ! "$action" == "deploy" ] && [ ! "$action" == "build" ]; then
1920
echo "Bad Action $action"
@@ -26,7 +27,9 @@ if [ ! "$commit" == "" ] && [ ! "$commit" == "null" ]; then
2627
export IDF_COMMIT="$commit"
2728
else
2829
commit=""
29-
if [ ! "$branch" == "" ] && [ ! "$branch" == "null" ]; then
30+
if [ ! "$tag" == "" ] && [ ! "$tag" == "null" ]; then
31+
export IDF_TAG="$tag"
32+
elif [ ! "$branch" == "" ] && [ ! "$branch" == "null" ]; then
3033
export IDF_BRANCH="$branch"
3134
fi
3235
fi
@@ -39,8 +42,12 @@ if [ ! "$arduino" == "" ] && [ ! "$arduino" == "null" ]; then
3942
export AR_BRANCH="$arduino"
4043
fi
4144

42-
source ./build.sh
43-
4445
if [ "$action" == "deploy" ]; then
45-
bash ./tools/push-to-arduino.sh
46+
DEPLOY_OUT=1
4647
fi
48+
49+
source ./build.sh
50+
51+
# if [ "$action" == "deploy" ]; then
52+
# bash ./tools/push-to-arduino.sh
53+
# fi

0 commit comments

Comments
 (0)