Skip to content

Commit 3e1df5d

Browse files
committed
fix(CI build_and_deploy): Use a larger fetch-depth for build-native job
1 parent ace4574 commit 3e1df5d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build_and_deploy.yml

+4
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,10 @@ jobs:
297297
# we use checkout here instead of the build cache since
298298
# it can fail to restore in different OS'
299299
- uses: actions/checkout@v4
300+
with:
301+
# crates/napi/build.rs uses git-describe to find the most recent git tag. It's okay if
302+
# this fails, but fetch with enough depth that we're likely to find a recent tag.
303+
fetch-depth: 100
300304

301305
- name: Setup node
302306
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)