File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 20
20
push :
21
21
branches :
22
22
- master
23
+ - feature/*
23
24
pull_request :
24
25
branches :
25
- - *
26
+ - master
26
27
27
28
jobs :
28
29
ubuntu-latest :
34
35
run : ./build.cmd ContinousIntegration
35
36
env :
36
37
NugetApiKey : ${{ secrets.NugetApiKey }}
38
+ - uses : actions/upload-artifact@v1
39
+ with :
40
+ name : nuget
41
+ path : artifacts/nuget
Original file line number Diff line number Diff line change 21
21
[ GitHubActions ( "continous-integration" ,
22
22
GitHubActionsImage . UbuntuLatest ,
23
23
AutoGenerate = true ,
24
- OnPushBranches = new [ ] { "master" } ,
25
- OnPullRequestBranches = new [ ] { "* " } ,
24
+ OnPushBranches = new [ ] { "master" , "feature/*" } ,
25
+ OnPullRequestBranches = new [ ] { "master " } ,
26
26
InvokedTargets = new [ ] { nameof ( ContinousIntegration ) } ,
27
- ImportSecrets = new [ ] { nameof ( NugetApiKey ) }
27
+ ImportSecrets = new [ ] { nameof ( NugetApiKey ) } ,
28
+ PublishArtifacts = true
28
29
) ]
29
30
class Build : NukeBuild
30
31
{
@@ -103,6 +104,7 @@ class Build : NukeBuild
103
104
104
105
Target Pack => _ => _
105
106
. DependsOn ( Compile )
107
+ . Produces ( NugetDestinationDirectory / "*.nupkg" )
106
108
. Executes ( ( ) =>
107
109
{
108
110
DotNetPack ( s => s
You can’t perform that action at this time.
0 commit comments