Skip to content

Add publish job

Add publish job #11

Workflow file for this run

# This starter workflow is for a CMake project running on a single platform. There is a different starter workflow if you need cross-platform coverage.
# See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-multi-platform.yml
name: Build and publish doxygen docs
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:

Check failure on line 15 in .github/workflows/doxygen.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/doxygen.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
- name: Checkout
uses: actions/checkout@v3
- name: Run doxygen
uses: mattnotmitt/doxygen-action@1.9.8
with:
enable-latex: true
publish:
runs-on: ubuntu-latest
steps:
- name: Debug
run: ls ./docs/latex
- name: Publish docs
uses: actions/upload-artifact@v3
with:
name: Documentation
path: ./docs/latex/refman.pdf