From f026c5c290c40a42731b33a05640bf3c520ac4ec Mon Sep 17 00:00:00 2001 From: David Conran Date: Fri, 27 Aug 2021 21:19:21 +1000 Subject: [PATCH] Fix broken doxygen action. (#1577) * Fix doxygen action. * Make the action run on every push. * Tested that it detects a doxygen warning/error correctly. --- .github/workflows/Documentation.yml | 10 ++-------- Doxyfile | 1 + 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index adea2b30..935b1c26 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -4,11 +4,7 @@ name: Documentation # Controls when the action will run. Workflow runs when manually triggered using the UI # or API. -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] +on: [push] # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: @@ -16,6 +12,4 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: SteffenSeckler/doxygen-action@v2.2.0beta4 - with: - fail-on-warnings: true + - uses: mattnotmitt/doxygen-action@v1 diff --git a/Doxyfile b/Doxyfile index 224c0731..8714b047 100644 --- a/Doxyfile +++ b/Doxyfile @@ -13,3 +13,4 @@ GENERATE_LATEX = NO ENABLE_PREPROCESSING = NO QUIET = YES WARN_NO_PARAMDOC = YES +WARN_AS_ERROR = YES