Skip to content

Add publish job

Add publish job #13

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:
- name: Checkout
uses: actions/checkout@v3
- name: Run doxygen
uses: mattnotmitt/doxygen-action@1.9.8
with:
enable-latex: true
publish:
needs: build
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