From 410622802989254cf48c2fd155eaf1277856c136 Mon Sep 17 00:00:00 2001 From: Ian McGinnis <67600557+ian-noaa@users.noreply.github.com> Date: Thu, 13 Oct 2022 20:17:44 -0600 Subject: [PATCH] Disable Python installation caching It sounds like Poetry will grab the Python env from the cache. The cached python is incorrect so hopefully this will result in the correct Python version. See: https://github.com/actions/setup-python/issues/374#issuecomment-1094360065 --- .github/workflows/api.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/api.yaml b/.github/workflows/api.yaml index ccc1d2c2..05395592 100644 --- a/.github/workflows/api.yaml +++ b/.github/workflows/api.yaml @@ -30,8 +30,8 @@ jobs: - uses: actions/setup-python@v4 with: python-version: '3.9' - cache: 'poetry' - cache-dependency-path: 'services/api/poetry.lock' + # cache: 'poetry' + # cache-dependency-path: 'services/api/poetry.lock' - name: Install dependencies working-directory: services/api run: | @@ -52,8 +52,8 @@ jobs: - uses: actions/setup-python@v4 with: python-version: '3.9' - cache: 'poetry' - cache-dependency-path: 'services/api/poetry.lock' + # cache: 'poetry' + # cache-dependency-path: 'services/api/poetry.lock' - name: Install dependencies working-directory: services/api run: | @@ -71,8 +71,8 @@ jobs: - uses: actions/setup-python@v4 with: python-version: '3.9' - cache: 'poetry' - cache-dependency-path: 'services/api/poetry.lock' + # cache: 'poetry' + # cache-dependency-path: 'services/api/poetry.lock' - name: Install dependencies working-directory: services/api run: |