mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-17 14:04:27 +01:00
ci(agent): Fix Python dependency caching on macOS
This commit is contained in:
2
.github/workflows/autogpt-ci.yml
vendored
2
.github/workflows/autogpt-ci.yml
vendored
@@ -167,7 +167,7 @@ jobs:
|
|||||||
- name: Set up Python dependency cache
|
- name: Set up Python dependency cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ${{ runner.os == 'Windows' && 'C:\Users\runneradmin\AppData\Local\pypoetry\Cache' || '~/.cache/pypoetry' }}
|
path: ${{ runner.os == 'Windows' && '~\AppData\Local\pypoetry\Cache' || runner.os == 'macOS' && '~/Library/Caches/pypoetry' || '~/.cache/pypoetry' }}
|
||||||
key: poetry-${{ runner.os }}-${{ hashFiles('autogpts/autogpt/poetry.lock') }}
|
key: poetry-${{ runner.os }}-${{ hashFiles('autogpts/autogpt/poetry.lock') }}
|
||||||
|
|
||||||
- name: Install Poetry (Unix)
|
- name: Install Poetry (Unix)
|
||||||
|
|||||||
Reference in New Issue
Block a user