Skip to content

Commit 40bcb1f

Browse files
committed
test
1 parent f73b7ba commit 40bcb1f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/cron.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ jobs:
5656
else
5757
git checkout $branch
5858
fi
59-
export IDF_BRANCH=$branch
60-
source ./tools/check-deploy-needed.sh
59+
bash -c "IDF_BRANCH=$branch ./tools/check-deploy-needed.sh"
6160
#if [ "$DEPLOY_NEEDED" == "1" ]; then
6261
echo "DEPLOY_NEEDED = $DEPLOY_NEEDED"
6362
branches+="\"$branch\","

tools/check-deploy-needed.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ source ./tools/config.sh
1010
IDF_COMMIT=`github_last_commit "$IDF_REPO" "$IDF_BRANCH"`
1111

1212
if [ -z $IDF_COMMIT ]; then
13-
echo "Failed to get IDF commit"
13+
echo "Failed to get IDF commit for branch $IDF_BRANCH"
1414
exit 1
1515
fi
1616

0 commit comments

Comments
 (0)