1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-11-10 05:23:18 +01:00

Merge pull request #388 from noamtamim/patch-1

Fix indentation in last pip example
This commit is contained in:
Aiqiao Yan 2020-08-13 14:13:05 -04:00 committed by GitHub
commit 943d2a4dac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -367,9 +367,9 @@ Replace `~/.cache/pip` with the correct `path` if not using Ubuntu.
> Note: This uses an internal pip API and may not always work
```yaml
- name: Get pip cache dir
id: pip-cache
run: |
python -c "from pip._internal.locations import USER_CACHE_DIR; print('::set-output name=dir::' + USER_CACHE_DIR)"
id: pip-cache
run: |
python -c "from pip._internal.locations import USER_CACHE_DIR; print('::set-output name=dir::' + USER_CACHE_DIR)"
- uses: actions/cache@v2
with: