ci(release): copy every matrix service file from .github

matrix.service lists space-separated file names ("sower.service
sowerd.service"), but the .github/ prefix only applied to the first,
so every Linux job failed with 'cannot stat sowerd.service' in
Prepare packaging files. Broken since 1e44871; first exercised by
the v1.6.0 tag. Loop over the list and prefix each file individually.
This commit is contained in:
wweir
2026-09-18 18:16:00 +08:00
parent 5dc57bc234
commit 44b7eefe91
+3 -1
View File
@@ -101,7 +101,9 @@ jobs:
- name: Prepare packaging files
run: |
cp .github/sower.toml .
cp .github/${{ matrix.service }} .
# matrix.service lists space-separated file names ("sower.service
# sowerd.service"); prefix each with .github/ individually.
for s in ${{ matrix.service }}; do cp ".github/$s" .; done
- name: Build binaries
env: