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
manpage:
- runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install missing software on ubuntu
if: contains(matrix.image, 'ubuntu')
run: |
apt-get update
apt-get install -y xsltproc docbook-xsl
- name: Install missing software on ubuntu
run: |
sudo apt-get update
sudo apt-get install -y xsltproc docbook-xsl
- name: build manpage
run: |
make man
- name: build manpage
run: |
make man
- uses: actions/upload-artifact@v3
with:
name: cppcheck.1
path: cppcheck.1
- uses: actions/upload-artifact@v3
with:
name: cppcheck.1
path: cppcheck.1