Skip to content

Commit

Permalink
only run nuget packaging on changes to src/**
Browse files Browse the repository at this point in the history
  • Loading branch information
tonybaloney committed Aug 3, 2024
1 parent acca419 commit 2c50bfe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dotnet-publish-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ name: .NET Publish (GitHub Packages)
on:
pull_request:
branches: ["main"]
paths:
- "src/**"

env:
DOTNET_VERSION: 8.0.x
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/dotnet-publish-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ name: .NET Publish (NuGet)
on:
push:
branches: ["main"]
paths:
- "src/**"

env:
DOTNET_VERSION: 8.0.x
Expand Down

0 comments on commit 2c50bfe

Please sign in to comment.