From 0e0eccc63c60c33db5a24fec27d5dc3047ae1a23 Mon Sep 17 00:00:00 2001 From: Marty Oehme <contact@martyoeh.me> Date: Tue, 4 Mar 2025 21:53:51 +0100 Subject: [PATCH] Only build on srcpkgs changed --- .github/workflows/build.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0e7fd67..d1cd034 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,9 +1,13 @@ name: build on: + # TODO: Enable once we have conditional build logic built + # pull_request: + # paths: + # - 'srcpkgs/**' push: - branches: - - main + paths: + - 'srcpkgs/**' jobs: changedpkgs: @@ -13,6 +17,9 @@ jobs: steps: - id: matrix run: | + # TODO: enable logic + # maybe easiest with void-packages/common/travis/changed_templates.sh + # (put into /tmp/templates) echo "pkg=[\"dotter-bin\",\"filtile-bin\",\"git-bug-git\",\"ly-git\"]" >> $GITHUB_OUTPUT - run: | echo "${{ steps.matrix.outputs.pkg }}"