Fix broken doxygen action. (#1577)

* Fix doxygen action.
* Make the action run on every push.
* Tested that it detects a doxygen warning/error correctly.
This commit is contained in:
David Conran
2021-08-27 21:19:21 +10:00
committed by GitHub
parent bdff66753f
commit f026c5c290
2 changed files with 3 additions and 8 deletions

View File

@@ -4,11 +4,7 @@ name: Documentation
# Controls when the action will run. Workflow runs when manually triggered using the UI # Controls when the action will run. Workflow runs when manually triggered using the UI
# or API. # or API.
on: on: [push]
push:
branches: [ master ]
pull_request:
branches: [ master ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel # A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs: jobs:
@@ -16,6 +12,4 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: SteffenSeckler/doxygen-action@v2.2.0beta4 - uses: mattnotmitt/doxygen-action@v1
with:
fail-on-warnings: true

View File

@@ -13,3 +13,4 @@ GENERATE_LATEX = NO
ENABLE_PREPROCESSING = NO ENABLE_PREPROCESSING = NO
QUIET = YES QUIET = YES
WARN_NO_PARAMDOC = YES WARN_NO_PARAMDOC = YES
WARN_AS_ERROR = YES