Skip to content

Fix: Dynamically adapt to workflow file in openvas-scanner repo (#834) #214

Fix: Dynamically adapt to workflow file in openvas-scanner repo (#834)

Fix: Dynamically adapt to workflow file in openvas-scanner repo (#834) #214

Workflow file for this run

name: 'Build Documentation'
on:
push:
branches: [ main, stable, oldstable ]
jobs:
generate-doc-and-upload-coverage:
name: Build XML documentation and upload coverage
runs-on: ubuntu-latest
container: greenbone/doxygen
steps:
- name: Run the c lang coverage action
uses: greenbone/actions/doc-coverage-clang@v3
generate-xml-doc:
name: Generate documentation (XML)
runs-on: ubuntu-latest
container: greenbone/doxygen
steps:
- name: Check out gvmd
uses: actions/checkout@v4
- name: Generate documentation (XML)
run: |
mkdir build
cd build
cmake -DSKIP_SRC=1 ..
make doc-xml 2> ~/doxygen-stderr.txt
- name: Upload doxygen error output as artifact
uses: actions/upload-artifact@v4
with:
name: doxygen-stderr.txt
path: ~/doxygen-stderr.txt
- name: Upload XML documentation as artifact
uses: actions/upload-artifact@v4
with:
name: xml-doc
path: build/doc/generated/xml/