mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-18 10:46:24 +00:00
Updates comments about GitHub cache action
This commit is contained in:
parent
9e4ea0c491
commit
ed92202762
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@ -42,16 +42,17 @@ jobs:
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
# We need "pip cache dir", which became a thing in pip v20.1+.
|
||||
# At the time of writing this, GitHub Actions offers pip v20.3.3
|
||||
# for both ubuntu-latest and windows-latest, and pip v20.3.1 for
|
||||
# macos-latest. Those are sufficiently recent pip versions that
|
||||
# have "cache dir" sub-command.
|
||||
# To use pip caching with GitHub Actions in an OS-independent
|
||||
# manner, we need `pip cache dir` command, which became
|
||||
# available since pip v20.1+. At the time of writing this,
|
||||
# GitHub Actions offers pip v20.3.3 for both ubuntu-latest and
|
||||
# windows-latest, and pip v20.3.1 for macos-latest.
|
||||
- name: Get pip cache directory
|
||||
id: pip-cache
|
||||
run: |
|
||||
echo "::set-output name=dir::$(pip cache dir)"
|
||||
|
||||
# See https://github.com/actions/cache
|
||||
- name: Use pip cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user