This repository has been archived by the owner on Oct 29, 2024. It is now read-only.
Added missing package installation. #212
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Automatic generation of doxygen and javadoc files for C, C++, and Java code | |
# in myBranch which will be copied and checked into the gh-pages branch. | |
name: Documentation generation CI | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# checkout myBranch | |
- uses: actions/checkout@v2 | |
# generate the C++ doxygen files | |
- name: Doxygen Action C++ | |
uses: mattnotmitt/[email protected] | |
with: | |
working-directory: '.' | |
doxyfile-path: 'Doxyfile' | |
# store the doc files | |
- name: Upload Output Directory | |
uses: actions/upload-artifact@v2 | |
with: | |
name: doc-files | |
path: docs | |
retention-days: 1 | |
copy: | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
# checkout the gh-pages branch | |
- uses: actions/checkout@v2 | |
with: | |
ref: gh-pages | |
# download the doc files, most of which are generated above | |
- name: Download Output Directory | |
uses: actions/download-artifact@v2 | |
with: | |
name: doc-files | |
path: docs | |
# add, commit and push to gh-pages | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v7 | |
with: | |
author_name: Carl Timmer | |
author_email: [email protected] | |
message: 'Update docs' | |
branch: gh-pages | |
add: '["docs/*"]' |