Skip to content

Commit a1b4865

Browse files
committed
Update cron.yml
1 parent 4ef80a8 commit a1b4865

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/cron.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
idf_branch: [release/v5.1, release/v4.4] #, release/v3.3]
2828
steps:
2929
- uses: actions/checkout@v3
30+
with:
31+
fetch-depth: 0
3032
- name: Install dependencies
3133
run: bash ./tools/prepare-ci.sh
3234
- name: Build
@@ -36,7 +38,7 @@ jobs:
3638
GIT_COMMITTER_EMAIL: ${{ secrets.PUSH_EMAIL }}
3739
IDF_BRANCH: ${{ matrix.idf_branch }}
3840
run: |
39-
git checkout ${{ matrix.idf_branch }}
41+
git checkout ${{ matrix.idf_branch }} || echo "Using master branch"
4042
bash ./tools/cron.sh
4143
- name: Upload archive
4244
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)