Fix formatting #5
Workflow file for this run
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
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
name: Generate Fusion docs | |
jobs: | |
docs: | |
runs-on: ubuntu-20.04 | |
permissions: | |
contents: write | |
actions: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
cache: "pip" | |
- name: Install dependencies | |
run: | | |
python --version | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Install package | |
run: | | |
pip install . | |
- name: Build Fusion docs | |
run: | | |
python resources/gen_fusion_handlers_doc.py --dir fusion-docs | |
zip -r fusion-docs.zip fusion-docs | |
- name: Upload release asset | |
run: | | |
gh release upload ${{ github.ref_name }} fusion-docs.zip | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |