mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 20:29:11 +00:00
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:
parent
c3bc692842
commit
fd23e8ec4f
2 changed files with 3 additions and 3 deletions
2
.github/workflows/ci.generate.ts
vendored
2
.github/workflows/ci.generate.ts
vendored
|
@ -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,
|
||||||
},
|
},
|
||||||
}];
|
}];
|
||||||
|
|
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue