Skip to content

Commit

Permalink
chore: set git fetch depth to 0 in build
Browse files Browse the repository at this point in the history
  • Loading branch information
coder2000 committed Jun 30, 2024
1 parent 059e66a commit 3460789
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
OnPushBranches = [MasterBranch, ReleaseBranchPrefix + "/*"],
InvokedTargets = [nameof(Test), nameof(Publish)],
ImportSecrets = [nameof(NuGetKey)],
EnableGitHubToken = true)]
EnableGitHubToken = true,
FetchDepth = 0)]
[GitHubActions(
"continuous",
GitHubActionsImage.WindowsLatest,
Expand All @@ -35,7 +36,8 @@
OnPullRequestBranches = [DevelopBranch],
PublishArtifacts = false,
InvokedTargets = [nameof(Test), nameof(Publish)],
EnableGitHubToken = true)]
EnableGitHubToken = true,
FetchDepth = 0)]
[AppVeyor(
AppVeyorImage.UbuntuLatest,
AppVeyorImage.VisualStudioLatest,
Expand Down

0 comments on commit 3460789

Please sign in to comment.