Skip to content

Commit

Permalink
🐛 forcing docs to run the same version than gdb
Browse files Browse the repository at this point in the history
  • Loading branch information
hugsy committed Jun 14, 2022
1 parent d836054 commit 5b468d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/generate-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 5b468d0

Please sign in to comment.