Only build on srcpkgs changed
This commit is contained in:
parent
5fbc0b484b
commit
0e0eccc63c
1 changed files with 9 additions and 2 deletions
11
.github/workflows/build.yaml
vendored
11
.github/workflows/build.yaml
vendored
|
@ -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 }}"
|
||||
|
|
Loading…
Reference in a new issue