Skip to content

PHPLIB-1175: Use Python 2.7 container for building docs #1123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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