Skip to content

Commit

Permalink
Only upload artifact on GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
devlead committed Dec 8, 2021
1 parent 3272549 commit 62bfca9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ Task("Clean")
)
)
.Then("Upload-Artifacts")
.WithCriteria(BuildSystem.IsRunningOnGitHubActions, nameof(BuildSystem.IsRunningOnGitHubActions))
.Does<BuildData>(
static (context, data) => context
.GitHubActions()
Expand Down
1 change: 1 addition & 0 deletions build/helpers.cake
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#addin "nuget:?package=xunit.assert&version=2.4.1"
#load "records.cake"

// Usings
using Xunit;
Expand Down

0 comments on commit 62bfca9

Please sign in to comment.