Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
Disable Python installation caching
Browse files Browse the repository at this point in the history
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: actions/setup-python#374 (comment)
  • Loading branch information
ian-noaa committed Oct 14, 2022
1 parent 940d49b commit 4106228
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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: |
Expand All @@ -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: |
Expand Down

0 comments on commit 4106228

Please sign in to comment.