Remove sphinx-action from build step and build HTML directly #276
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
name: Windows Build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
env: | |
BUILD_VIDEOS: true | |
jobs: | |
sphinx-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- name: Cache python env | |
uses: actions/cache@v4 | |
with: | |
path: ${{ env.pythonLocation }} | |
key: v2-${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip wheel | |
pip install -r requirements.txt | |
- name: Build | |
shell: cmd | |
working-directory: ./docs | |
run: make.bat html |