From 287bd2bec040f3c0fd26bc8d1ae00212093b42ea Mon Sep 17 00:00:00 2001 From: CommanderRedYT Date: Fri, 24 Dec 2021 10:20:48 +0100 Subject: [PATCH] Only rebuild when certain files change --- .github/workflows/analysis.yml | 7 +++++++ .github/workflows/userconfigs.yml | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index b4e5053..bda76dd 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -1,6 +1,13 @@ name: Build on: push: + paths: + - 'main/**' + - 'sdkconfig_**' + - 'config_**' + - 'components/**' + - 'CMakeLists.txt' + - '.github/workflows/**' release: types: - created diff --git a/.github/workflows/userconfigs.yml b/.github/workflows/userconfigs.yml index 0b4c2f8..ba506bf 100644 --- a/.github/workflows/userconfigs.yml +++ b/.github/workflows/userconfigs.yml @@ -1,6 +1,14 @@ name: Build on: push: + paths: + - 'main/**' + - 'sdkconfig_**' + - 'config_**' + - 'components/**' + - 'CMakeLists.txt' + - '.github/workflows/**' + release: types: - created