fix(ci): generate config.yml.sample in release-os-package for vikunja
vikunja's nfpm.yaml packs ./config.yml.sample as /etc/vikunja/config.yml. The release-binaries action already regenerates it for the zip bundles, but release-os-package runs on a fresh runner without that file, so nfpm aborted with "matching ./config.yml.sample: file does not exist" on every vikunja os-package matrix shard (the veans shards skip this step entirely). Add a vikunja-only step to regenerate it before nfpm runs.
This commit is contained in:
parent
1e1fcaafbc
commit
2395239f0b
|
|
@ -104,6 +104,16 @@ runs:
|
|||
shell: bash
|
||||
run: go install github.com/magefile/mage@v1.17.2
|
||||
|
||||
- name: Generate config.yml.sample (vikunja only)
|
||||
# vikunja's nfpm.yaml ships ./config.yml.sample as /etc/vikunja/config.yml.
|
||||
# release-binaries generates it for the zip bundles, but this job runs on a
|
||||
# fresh runner, so we regenerate it here before nfpm packs it.
|
||||
if: inputs.project == 'vikunja'
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH=$PATH:$GOPATH/bin
|
||||
mage generate:config-yaml 1
|
||||
|
||||
- name: Write GPG key for nfpm
|
||||
if: inputs.packager == 'rpm'
|
||||
shell: bash
|
||||
|
|
|
|||
Loading…
Reference in New Issue