Skip to content

Commit

Permalink
PHPLIB-1175: Use container with Python 2.7 for building docs (#1123)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikola committed Jul 5, 2023
1 parent b8af536 commit 4d21326
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
giza:
name: "Build Docs"
runs-on: "ubuntu-20.04"
container:
image: python:2.7.18-buster

steps:
- name: "Checkout library"
Expand All @@ -35,10 +37,9 @@ jobs:
path: docs
fetch-depth: 2

- name: "Setup python"
uses: actions/setup-python@v4
with:
python-version: '2.7'
# python:2.7.18-buster does not include rsync
- name: "Install rsync"
run: "apt-get update && apt-get -y install rsync"

# The requirements file installs urllib3 with an incompatible version; we replace it with one that works
- name: "Install giza"
Expand Down

0 comments on commit 4d21326

Please sign in to comment.