mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 00:24:13 +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:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
# We need "pip cache dir", which became a thing in pip v20.1+.
|
# To use pip caching with GitHub Actions in an OS-independent
|
||||||
# At the time of writing this, GitHub Actions offers pip v20.3.3
|
# manner, we need `pip cache dir` command, which became
|
||||||
# for both ubuntu-latest and windows-latest, and pip v20.3.1 for
|
# available since pip v20.1+. At the time of writing this,
|
||||||
# macos-latest. Those are sufficiently recent pip versions that
|
# GitHub Actions offers pip v20.3.3 for both ubuntu-latest and
|
||||||
# have "cache dir" sub-command.
|
# windows-latest, and pip v20.3.1 for macos-latest.
|
||||||
- name: Get pip cache directory
|
- name: Get pip cache directory
|
||||||
id: pip-cache
|
id: pip-cache
|
||||||
run: |
|
run: |
|
||||||
echo "::set-output name=dir::$(pip cache dir)"
|
echo "::set-output name=dir::$(pip cache dir)"
|
||||||
|
|
||||||
|
# See https://github.com/actions/cache
|
||||||
- name: Use pip cache
|
- name: Use pip cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user