From 0f70f193ad9fa74b0373c0cb809b9401c70f5085 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Wed, 11 Oct 2023 12:33:13 +0200 Subject: [PATCH] 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 ``` --- .github/workflows/buildman.yml | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/.github/workflows/buildman.yml b/.github/workflows/buildman.yml index fde5cba00..cb7fc655b 100644 --- a/.github/workflows/buildman.yml +++ b/.github/workflows/buildman.yml @@ -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