1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-11-23 20:19:16 +01:00

Fix indentation in last pip example

This commit is contained in:
Noam Tamim 2020-08-05 12:29:52 +03:00 committed by GitHub
parent d29c1df198
commit 59a8d125e7
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 > Note: This uses an internal pip API and may not always work
```yaml ```yaml
- name: Get pip cache dir - name: Get pip cache dir
id: pip-cache id: pip-cache
run: | run: |
python -c "from pip._internal.locations import USER_CACHE_DIR; print('::set-output name=dir::' + USER_CACHE_DIR)" python -c "from pip._internal.locations import USER_CACHE_DIR; print('::set-output name=dir::' + USER_CACHE_DIR)"
- uses: actions/cache@v2 - uses: actions/cache@v2
with: with: