ci: bump fetch depth to unblock canary uploads (#25716)

Current mac arm canaries are failing to upload because the existing
latest commit hash
is more that 5 commits behind and it's not in the git history.
This commit is contained in:
Bartek Iwańczuk 2024-09-19 01:37:13 +01:00 committed by GitHub
parent c3bc692842
commit fd23e8ec4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -158,7 +158,7 @@ const cloneRepoStep = [{
// Use depth > 1, because sometimes we need to rebuild main and if // Use depth > 1, because sometimes we need to rebuild main and if
// other commits have landed it will become impossible to rebuild if // other commits have landed it will become impossible to rebuild if
// the checkout is too shallow. // the checkout is too shallow.
"fetch-depth": 5, "fetch-depth": 50,
submodules: false, submodules: false,
}, },
}]; }];

View file

@ -33,7 +33,7 @@ jobs:
- name: Clone repository - name: Clone repository
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
fetch-depth: 5 fetch-depth: 50
submodules: false submodules: false
if: github.event.pull_request.draft == true if: github.event.pull_request.draft == true
- id: check - id: check
@ -148,7 +148,7 @@ jobs:
- name: Clone repository - name: Clone repository
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
fetch-depth: 5 fetch-depth: 50
submodules: false submodules: false
if: '!(matrix.skip)' if: '!(matrix.skip)'
- name: Clone submodule ./tests/util/std - name: Clone submodule ./tests/util/std