Skip to content

Commit 2f0d5c4

Browse files
authored
Merge pull request #14 from rafek1241/feature/update-flow
Update flow
2 parents 0d67e8f + 14a24d1 commit 2f0d5c4

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

.github/workflows/continous-integration.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,7 @@ jobs:
3535
run: ./build.cmd ContinousIntegration
3636
env:
3737
NugetApiKey: ${{ secrets.NugetApiKey }}
38+
- uses: actions/upload-artifact@v1
39+
with:
40+
name: nuget
41+
path: artifacts/nuget

GitVersion.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
ignore:
2+
sha: []
3+
merge-message-formats: {}
4+
tag-prefix: ''
5+
branches:
6+
feature:
7+
increment: Minor
8+
tag: alpha

build/Build.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class Build : NukeBuild
130130

131131
Target Deploy => _ => _
132132
.DependsOn(Pack)
133-
.OnlyWhenStatic(() => GitRepository.Branch == "refs/heads/master")
133+
.OnlyWhenStatic(() => GitRepository.Branch == "master")
134134
.Requires(() => NugetApiUrl)
135135
.Requires(() => NugetApiKey)
136136
.Requires(() => Configuration.Equals(Configuration.Release))
@@ -153,8 +153,5 @@ class Build : NukeBuild
153153
);
154154

155155
Target ContinousIntegration => _ => _
156-
.DependsOn(Clean);
157-
158-
Target ContinousDeployment => _ => _
159156
.DependsOn(Deploy);
160157
}

0 commit comments

Comments
 (0)