Skip to content

Commit

Permalink
Modified ci-cd definition (on tag pushed) (#159)
Browse files Browse the repository at this point in the history
Co-authored-by: Nikita Prokhorov <nikita.prokhorov@grse.de>
  • Loading branch information
prokhorovn and Nikita Prokhorov authored Oct 12, 2021
1 parent 6025c7f commit 5ef8843
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ name: ci_publish
on:
push:
branches:
- master
- 'releases/*'
tags:
- 'v*'

jobs:
ubuntu-latest:
Expand Down
4 changes: 3 additions & 1 deletion build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
InvokedTargets = new[] {nameof(Ci)},
CacheKeyFiles = new string[0])]
[GitHubActions("ci_publish", GitHubActionsImage.UbuntuLatest,
OnPushBranches = new[] {"master", "releases/*"},
OnPushBranches = new[] { "releases/*" },
OnPushTags = new[] { "v*" },
AutoGenerate = true,
InvokedTargets = new[] {nameof(CiPublish)},
CacheKeyFiles = new string[0],
Expand Down Expand Up @@ -83,6 +84,7 @@ class Build : NukeBuild
Target Package => _ => _
.DependsOn(Test)
.Executes(() =>

{
DotNetPack(s => s
.SetProject(SieveProject)
Expand Down

0 comments on commit 5ef8843

Please sign in to comment.