Only build on srcpkgs changed

This commit is contained in:
Marty Oehme 2025-03-04 21:53:51 +01:00
parent 5fbc0b484b
commit 0e0eccc63c
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -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 }}"