From 4d2132672922582082550adc64e2dd355f714eef Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Wed, 5 Jul 2023 15:04:33 -0400 Subject: [PATCH] PHPLIB-1175: Use container with Python 2.7 for building docs (#1123) --- .github/workflows/docs.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a7a1413a8..63841203e 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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" @@ -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"