From a1b48657b7a0dd542e46ec5ace74728933a9f606 Mon Sep 17 00:00:00 2001 From: me-no-dev Date: Thu, 5 Oct 2023 21:27:53 +0300 Subject: [PATCH] Update cron.yml --- .github/workflows/cron.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index b594881..58ed721 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -27,6 +27,8 @@ jobs: idf_branch: [release/v5.1, release/v4.4] #, release/v3.3] steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Install dependencies run: bash ./tools/prepare-ci.sh - name: Build @@ -36,7 +38,7 @@ jobs: GIT_COMMITTER_EMAIL: ${{ secrets.PUSH_EMAIL }} IDF_BRANCH: ${{ matrix.idf_branch }} run: | - git checkout ${{ matrix.idf_branch }} + git checkout ${{ matrix.idf_branch }} || echo "Using master branch" bash ./tools/cron.sh - name: Upload archive uses: actions/upload-artifact@v3