buildman.yml: fixed `manpage` job (#5539)

```
Invalid workflow file: .github/workflows/buildman.yml#L42
You have an error in your yaml syntax on line 42
```
This commit is contained in:
Oliver Stöneberg 2023-10-11 12:33:13 +02:00 committed by GitHub
parent d757f8b8fc
commit 0f70f193ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 15 deletions

View File

@ -39,21 +39,20 @@ jobs:
path: output path: output
manpage: manpage:
- runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Install missing software on ubuntu - name: Install missing software on ubuntu
if: contains(matrix.image, 'ubuntu') run: |
run: | sudo apt-get update
apt-get update sudo apt-get install -y xsltproc docbook-xsl
apt-get install -y xsltproc docbook-xsl
- name: build manpage - name: build manpage
run: | run: |
make man make man
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: cppcheck.1 name: cppcheck.1
path: cppcheck.1 path: cppcheck.1