Skip to content

Commit 0f70f19

Browse files
authored
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 ```
1 parent d757f8b commit 0f70f19

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

.github/workflows/buildman.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,20 @@ jobs:
3939
path: output
4040

4141
manpage:
42-
- runs-on: ubuntu-22.04
43-
steps:
44-
- uses: actions/checkout@v3
45-
46-
- name: Install missing software on ubuntu
47-
if: contains(matrix.image, 'ubuntu')
48-
run: |
49-
apt-get update
50-
apt-get install -y xsltproc docbook-xsl
51-
52-
- name: build manpage
53-
run: |
54-
make man
55-
56-
- uses: actions/upload-artifact@v3
57-
with:
58-
name: cppcheck.1
59-
path: cppcheck.1
42+
runs-on: ubuntu-22.04
43+
steps:
44+
- uses: actions/checkout@v3
45+
46+
- name: Install missing software on ubuntu
47+
run: |
48+
sudo apt-get update
49+
sudo apt-get install -y xsltproc docbook-xsl
50+
51+
- name: build manpage
52+
run: |
53+
make man
54+
55+
- uses: actions/upload-artifact@v3
56+
with:
57+
name: cppcheck.1
58+
path: cppcheck.1

0 commit comments

Comments
 (0)