mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-24 06:23:02 +01:00
Modified ci-cd definition (on tag pushed) (#159)
Co-authored-by: Nikita Prokhorov <nikita.prokhorov@grse.de>
This commit is contained in:
parent
6025c7fd44
commit
5ef8843f3d
3
.github/workflows/ci_publish.yml
vendored
3
.github/workflows/ci_publish.yml
vendored
@ -19,8 +19,9 @@ name: ci_publish
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- 'releases/*'
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
ubuntu-latest:
|
||||
|
@ -21,7 +21,8 @@ using static Nuke.Common.Tools.DotNet.DotNetTasks;
|
||||
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],
|
||||
@ -83,6 +84,7 @@ class Build : NukeBuild
|
||||
Target Package => _ => _
|
||||
.DependsOn(Test)
|
||||
.Executes(() =>
|
||||
|
||||
{
|
||||
DotNetPack(s => s
|
||||
.SetProject(SieveProject)
|
||||
|
Loading…
Reference in New Issue
Block a user