CI: Simplify "Generate reference docs" step

This commit is contained in:
Nils Hanke 2022-09-09 11:19:28 +02:00 committed by Nils Hanke
parent 9a560847f7
commit 56accc7766

View File

@ -22,11 +22,8 @@ jobs:
go-version: 1.18
- name: Generate reference docs
run: |
cd hack/clidocgen
go build .
./clidocgen > content.md
cat header.md content.md > ../../cli.md
run: go run . | cat header.md - > ../../cli.md
working-directory: hack/clidocgen
- name: Get commit sha
run: |