From c93b9815e51629515d437bb0c5fec2c4158600a7 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Fri, 28 Aug 2020 15:30:31 +0100 Subject: [PATCH] Fix running sphinx-build on GitHub Actions For some reason I thought it wasn't in the PATH, and specifying the Python version in the path changed when the default version of Python changed. --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57de0374..380d39ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -93,7 +93,7 @@ jobs: python -m pip install -r docs/requirements.txt - name: Build docs - run: ${{ runner.tool_cache }}\Python\3.7.8\x64\Scripts\sphinx-build -b html docs build\docs\html + run: sphinx-build -b html docs build\docs\html - name: Build archive id: build-archive diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2e455186..4505a318 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -101,7 +101,7 @@ jobs: python -m pip install -r docs/requirements.txt - name: Build docs - run: ${{ runner.tool_cache }}\Python\3.7.8\x64\Scripts\sphinx-build -b html docs build\docs\html + run: sphinx-build -b html docs build\docs\html - name: Build archive id: build-archive