Files
libopenshot-audio/.github/workflows/generate-docs.yml
dependabot[bot] 6da5d97de4 Bump actions/upload-artifact from 2.2.3 to 2.2.4 (#128)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.2.3 to 2.2.4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.3...v2.2.4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-26 13:38:17 -04:00

38 lines
1.0 KiB
YAML

name: libopenshot-audio documentation
on:
# Triggers the workflow on push or pull request events but only for the develop branch
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt update
sudo apt install cmake libasound2-dev doxygen graphviz python3
- name: Build libopenshot-audio docs
run: |
mkdir build
pushd build
cmake -B . -S ..
cmake --build . --target doc
popd
# Create an artifact out of the generated HTML
- uses: actions/upload-artifact@v2.2.4
with:
name: "OpenShotAudio-docs"
path: "build/doc/html/"