Skip to content

Commit 957f0aa

Browse files
committed
fix(ci): workaround for git bug
Do not shallow fetch until actions/checkout#2041 is solved
1 parent 49ac785 commit 957f0aa

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/nightly.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
- name: Checkout code
9393
uses: actions/checkout@v4
9494
with:
95-
fetch-tags: true
95+
fetch-depth: 0
9696

9797
- name: Setup Rust
9898
uses: dtolnay/rust-toolchain@stable
@@ -140,7 +140,7 @@ jobs:
140140
- name: Checkout code
141141
uses: actions/checkout@v4
142142
with:
143-
fetch-tags: true
143+
fetch-depth: 0
144144
- name: Setup pnpm
145145
uses: pnpm/action-setup@v2
146146
with:
@@ -173,7 +173,7 @@ jobs:
173173
- name: Checkout code
174174
uses: actions/checkout@v4
175175
with:
176-
fetch-tags: true
176+
fetch-depth: 0
177177
- name: Remove tag
178178
run: git tag -d ${{ needs.tag.outputs.tag }} && git push origin :${{ needs.tag.outputs.tag }}
179179

@@ -187,8 +187,7 @@ jobs:
187187
- name: Checkout code
188188
uses: actions/checkout@v4
189189
with:
190-
fetch-depth: 5
191-
fetch-tags: true
190+
fetch-depth: 0
192191
- name: Download artifacts
193192
uses: actions/download-artifact@v4
194193
- name: Generate checksums

0 commit comments

Comments
 (0)