From 21df2cc7bfbeeac93ea591a4b5c2e268ba4e7668 Mon Sep 17 00:00:00 2001 From: Tenkuma <85490958+adrianvic@users.noreply.github.com> Date: Mon, 15 Dec 2025 00:54:44 -0300 Subject: [PATCH] Run build only when pushing changes to src/**, .github/** and Gradle files. --- .github/workflows/build.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 55bea5f..c3c036b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,13 @@ name: Build -on: [push] +on: + push: + paths: + - 'src/**' + - '.github/**' + - 'build.gradle.kts' + - 'gradle.properties' + - 'settings.gradle' jobs: build: @@ -33,4 +40,4 @@ jobs: - name: Upload artifacts uses: actions/upload-artifact@v6.0.0 with: - path: build/libs/*.jar \ No newline at end of file + path: build/libs/*.jar