Skip to content

Commit

Permalink
Merge branch 'release/0.19.0' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
devlead committed Nov 19, 2023
2 parents d0afd60 + fc97ed0 commit aa18693
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Build
on:
pull_request:
push:
tags: [ '*.*.*' ]
branches:
- main
- develop
- hotfix/*

Expand Down
10 changes: 9 additions & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,15 @@ Task("Upload-AppVeyor-Artifacts")

Task("Publish-MyGet")
.IsDependentOn("Package")
.WithCriteria((AppVeyor.IsRunningOnAppVeyor && !AppVeyor.Environment.PullRequest.IsPullRequest)
.WithCriteria(
(
AppVeyor.IsRunningOnAppVeyor &&
!AppVeyor.Environment.PullRequest.IsPullRequest &&
(
!AppVeyor.Environment.Repository.Branch.Equals("master", StringComparison.OrdinalIgnoreCase) ||
AppVeyor.Environment.Repository.Tag.IsTag
)
)
|| StringComparer.OrdinalIgnoreCase.Equals(target, "Publish-MyGet"))
.Does(() => {
Expand Down

0 comments on commit aa18693

Please sign in to comment.