From 5b468d02a7cc9ee4b0fa1d2feef974a09cc6395b Mon Sep 17 00:00:00 2001 From: hugsy Date: Mon, 13 Jun 2022 19:16:39 -0700 Subject: [PATCH] :bug: forcing docs to run the same version than gdb --- .github/workflows/generate-docs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/generate-docs.yml b/.github/workflows/generate-docs.yml index 990709264..464ab20a1 100644 --- a/.github/workflows/generate-docs.yml +++ b/.github/workflows/generate-docs.yml @@ -17,16 +17,16 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} - uses: actions/setup-python@v3 with: - python-version: '3.9' + python-version: '3.8' # this should be set to the same version GDB was compiled against architecture: 'x64' cache: 'pip' - name: Install pre-requisite run: | sudo apt install gdb -y - pip install --requirement docs/requirements.txt + pip install --requirement docs/requirements.txt --upgrade - name: Regenerate GEF API file run: | - echo "$(pwd)/gef.py" > ~/.gdbinit + echo "source $(pwd)/gef.py" > ~/.gdbinit bash scripts/generate-api-docs.sh - name: Build and publish the docs run: |