From 6e4ede7f6d0684fb31a1f8686849926f42166a61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BAben=20Fonseca?= Date: Mon, 18 Jul 2022 14:12:48 +0200 Subject: [PATCH 1/2] fix(ci): install dependencies when publishing docs --- .github/workflows/publish.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1473fba2fcb..b0f4f573971 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -105,6 +105,13 @@ jobs: run: | git config user.name "Release bot" git config user.email aws-devax-open-source@amazon.com + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: "3.8" + cache: "poetry" + - name: Install dependencies + run: make dev - name: Build docs website and API reference run: | make release-docs VERSION=${RELEASE_VERSION} ALIAS="latest" From dfdade806655a4902b6835ff457eb53b4cd5639e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BAben=20Fonseca?= Date: Mon, 18 Jul 2022 14:13:24 +0200 Subject: [PATCH 2/2] chore(ci): adds caching when installing python dependencies --- .github/workflows/publish.yml | 1 + .github/workflows/python_build.yml | 1 + .github/workflows/python_docs.yml | 1 + .github/workflows/rebuild_latest_docs.yml | 1 + .github/workflows/run-e2e-tests.yml | 1 + 5 files changed, 5 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b0f4f573971..a36231bcf16 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -44,6 +44,7 @@ jobs: uses: actions/setup-python@v4 with: python-version: "3.8" + cache: "poetry" - name: Set release notes tag id: release_version # transform tag format `v