Skip to content

Commit

Permalink
Update generate-docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wvanheemstra authored Dec 30, 2024
1 parent f534959 commit 077d21c
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/generate-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,11 @@ on:
jobs:
generate-docs:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: ./nfc-reader-docs

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Dependencies
run: |
sudo apt-get update
Expand Down Expand Up @@ -48,6 +44,12 @@ jobs:
cd docs
doxygen Doxyfile
- name: Fix Makefile Formatting
run: |
cd docs/pdf/latex
# Ensure Makefile uses tabs
sed -i 's/^[[:space:]]\+/\t/g' Makefile
- name: Compile LaTeX to PDF
run: |
cd docs/pdf/latex
Expand All @@ -66,5 +68,5 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: nfc-reader-documentation
path: nfc-reader-docs/docs/pdf/latex/refman.pdf
path: docs/pdf/latex/refman.pdf
retention-days: 30

0 comments on commit 077d21c

Please sign in to comment.