From 64301260a5da0065fcfb4c6121d2aa04d8e0c2c6 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Fri, 14 Jan 2022 13:39:59 -0600 Subject: [PATCH] GitHub: Fix paths that cause builds We should split build.yml into separate workflows for each OS, that way we can have Windows builds triggered by changes to NTMakefiles, but not Linux builds. --- .github/workflows/build.yml | 47 +++++++++++++++++++++++++++++++++++-- 1 file changed, 45 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f82b82b5e..ed05e54a5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,8 +1,51 @@ name: Build on: - push: {paths: [src/**, .github/workflows/build.yml]} - pull_request: {paths: [src/**, .github/workflows/build.yml]} + push: + paths: + - '!docs/**' + - '!**.md' + - '!**.[1-9]' + - '**.[chly]' + - '**.hin' + - '**.in' + - '**.am' + - '**.m4' + - '**.ac' + - '**.pl' + - '**.py' + - '**.asn1' + - '**.opt' + - '**/NTMakefile' + - '**/COPYING' + - '**/INSTALL' + - '**/README*' + - '.github/workflows/build.yml' + - '!appveyor.yml' + - '!.travis.yml' + + pull_request: + paths: + - '!docs/**' + - '!**.md' + - '!**.[1-9]' + - '**.[chly]' + - '**.hin' + - '**.in' + - '**.am' + - '**.m4' + - '**.ac' + - '**.pl' + - '**.py' + - '**.asn1' + - '**.opt' + - '**/NTMakefile' + - '**/COPYING' + - '**/INSTALL' + - '**/README*' + - '.github/workflows/build.yml' + - '!appveyor.yml' + - '!.travis.yml' jobs: