From 8e23321c59f4f8e6a60234e58c7541ad3c063fa8 Mon Sep 17 00:00:00 2001 From: spiral Date: Fri, 18 Nov 2022 03:36:32 +0000 Subject: [PATCH] fix(ci): run dotnet build only on update to dotnet projects --- .github/workflows/dotnetcore.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 89f4775c..e699ba8a 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -1,6 +1,18 @@ name: .NET Core -on: [push, pull_request] +on: + push: + paths: + - 'Myriad/**' + - 'PluralKit.API/**' + - 'PluralKit.Bot/**' + - 'PluralKit.Core/**' + pull_request: + paths: + - 'Myriad/**' + - 'PluralKit.API/**' + - 'PluralKit.Bot/**' + - 'PluralKit.Core/**' jobs: build: