File tree Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 24
24
runs-on : ubuntu-latest
25
25
steps :
26
26
- uses : actions/checkout@v4
27
+ with :
28
+ fetch-depth : 0
27
29
- name : ' Cache: .nuke/temp, ~/.nuget/packages'
28
30
uses : actions/cache@v4
29
31
with :
Original file line number Diff line number Diff line change 24
24
runs-on : ubuntu-latest
25
25
steps :
26
26
- uses : actions/checkout@v4
27
+ with :
28
+ fetch-depth : 0
27
29
- name : ' Cache: .nuke/temp, ~/.nuget/packages'
28
30
uses : actions/cache@v4
29
31
with :
Original file line number Diff line number Diff line change 29
29
runs-on : ubuntu-latest
30
30
steps :
31
31
- uses : actions/checkout@v4
32
+ with :
33
+ fetch-depth : 0
32
34
- name : ' Cache: .nuke/temp, ~/.nuget/packages'
33
35
uses : actions/cache@v4
34
36
with :
Original file line number Diff line number Diff line change 15
15
"continuous" ,
16
16
GitHubActionsImage . UbuntuLatest ,
17
17
On = [ GitHubActionsTrigger . Push ] ,
18
+ FetchDepth = 0 ,
18
19
InvokedTargets = [ nameof ( Test ) , nameof ( Pack ) ] ) ]
19
20
[ GitHubActions (
20
21
"release" ,
21
22
GitHubActionsImage . UbuntuLatest ,
22
23
OnPushBranches = [ "main" ] ,
23
24
OnPushTags = [ "[0-9]+.[0-9]+.[0-9]+" ] ,
25
+ FetchDepth = 0 ,
24
26
ImportSecrets = [ nameof ( NuGetApiKey ) ] ,
25
27
InvokedTargets = [ nameof ( Publish ) ] ) ]
26
28
[ GitHubActions (
27
29
"pr" ,
28
30
GitHubActionsImage . UbuntuLatest ,
29
31
On = [ GitHubActionsTrigger . PullRequest ] ,
32
+ FetchDepth = 0 ,
30
33
InvokedTargets = [ nameof ( Test ) , nameof ( Pack ) ] ) ]
31
34
class Build : NukeBuild {
32
35
public static int Main ( ) => Execute < Build > ( x => x . Compile ) ;
You can’t perform that action at this time.
0 commit comments