Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,14 @@ jobs:
run: wget https://raw.githubusercontent.com/libhal/ci/main/doxygen.conf -O doxygen.conf

- name: 📖 Run Doxygen
id: doxygen
uses: mattnotmitt/[email protected]
continue-on-error: true
if: always()
with:
doxyfile-path: "doxygen.conf"

# Save the exit code of the last step (Doxygen run)
- name: 🧪 Capture Doxygen exit code
id: capture_doxygen_exit_code
run: echo "::set-output name=exit_code::$?"
shell: bash

# Conditionally read out any doxygen warnings only if the previous step failed
# Conditionally read out any doxygen warnings only if `doxygen_check`
# step failed.
- name: ⚠️ Read out any doxygen warnings
if: ${{ steps.capture_doxygen_exit_code.outputs.exit_code == '1' }}
run: cat doxygen_warn.log | exit 1
if: ${{ failure() && steps.doxygen.conclusion == 'failure' }}
run: cat doxygen_warn.log ; exit 1
Loading