Skip to content

[Fix] a standalone PR to fixup multi-defination issue across multiple… #541

[Fix] a standalone PR to fixup multi-defination issue across multiple…

[Fix] a standalone PR to fixup multi-defination issue across multiple… #541

Workflow file for this run

name: docs-build
on:
pull_request:
branches: [master]
jobs:
build:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Install Ubuntu packages
run: |
sudo apt-get update -y
sudo apt-get install -y --no-install-recommends doxygen
- name: Install dependencies
run: |
python -m pip install -r docs/requirements-doc.txt
- name: Building docs
run: |
make -C docs html
- name: Upload HTML
uses: actions/upload-artifact@v3
with:
name: html-build-artifact
path: docs/build/html
if-no-files-found: error
retention-days: 1
- name: Store PR information
run: |
mkdir ./pr
echo ${{ github.event.number }} > ./pr/pr.txt
echo ${{ github.event.pull_request.merged }} > ./pr/merged.txt
echo ${{ github.event.action }} > ./pr/action.txt
- name: Upload PR information
uses: actions/upload-artifact@v3
with:
name: pr
path: pr/