mirror of
https://github.com/actions/cache.git
synced 2026-06-29 00:19:00 +00:00
Compare commits
5 Commits
267317810d
...
89b7a7db64
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
89b7a7db64 | ||
|
|
704facf57e | ||
|
|
17e2888746 | ||
|
|
667d8fdfa2 | ||
|
|
ce207c8817 |
@ -107,3 +107,7 @@
|
||||
### 3.3.1
|
||||
|
||||
- Reduced segment size to 128MB and segment timeout to 10 minutes to fail fast in case the cache download is stuck.
|
||||
|
||||
### 3.3.2
|
||||
|
||||
- Fixes bug with Azure SDK causing blob downloads to get stuck.
|
||||
|
||||
@ -541,6 +541,15 @@ jobs:
|
||||
key: ${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-pipenv-${{ hashFiles('Pipfile.lock') }}
|
||||
```
|
||||
|
||||
To use the cache effectively:
|
||||
```yaml
|
||||
- name: Install packages
|
||||
run: |
|
||||
pipenv --venv && \
|
||||
(pipenv lock -r |cat - ci-requirements.txt|pipenv run pip install -r /dev/stdin) || \
|
||||
(pipenv install --python ${{ matrix.python-version }} --deploy)
|
||||
```
|
||||
|
||||
## R - renv
|
||||
|
||||
For renv, the cache directory will vary by OS. The `RENV_PATHS_ROOT` environment variable is used to set the cache location. Have a look at https://rstudio.github.io/renv/reference/paths.html#details for more details.
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "cache",
|
||||
"version": "3.3.1",
|
||||
"version": "3.3.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "cache",
|
||||
"version": "3.3.1",
|
||||
"version": "3.3.2",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@actions/cache": "^3.2.2",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cache",
|
||||
"version": "3.3.1",
|
||||
"version": "3.3.2",
|
||||
"private": true,
|
||||
"description": "Cache dependencies and build outputs",
|
||||
"main": "dist/restore/index.js",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user