31 lines
659 B
YAML
31 lines
659 B
YAML
name: Gitea Actions Demo
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions
|
|
on: [push]
|
|
|
|
jobs:
|
|
Doxygen:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout the repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: '3.x'
|
|
|
|
- name: Install Doxygen
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y doxygen
|
|
|
|
- name: Generate Doxygen Documentation
|
|
run: |
|
|
doxygen Doxyfile
|
|
|
|
- name: Upload Documentation as Artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: doxygen-docs
|
|
path: docs/
|