You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Swift - Swift Package Manager](#swift---swift-package-manager)
35
39
36
40
## C# - NuGet
41
+
37
42
Using [NuGet lock files](https://docs.microsoft.com/nuget/consume-packages/package-references-in-project-files#locking-dependencies):
38
43
39
44
```yaml
@@ -47,10 +52,11 @@ Using [NuGet lock files](https://docs.microsoft.com/nuget/consume-packages/packa
47
52
48
53
Depending on the environment, huge packages might be pre-installed in the global cache folder.
49
54
With `actions/cache@v2` you can now exclude unwanted packages with [exclude pattern](https://github.com/actions/toolkit/tree/main/packages/glob#exclude-patterns)
@@ -241,8 +277,8 @@ The yarn cache directory will depend on your operating system and version of `ya
241
277
${{ runner.os }}-yarn-
242
278
```
243
279
244
-
245
280
## Node - Yarn 2
281
+
246
282
The yarn 2 cache directory will depend on your config. See https://yarnpkg.com/configuration/yarnrc#cacheFolder for more info.
247
283
248
284
```yaml
@@ -260,6 +296,7 @@ The yarn 2 cache directory will depend on your config. See https://yarnpkg.com/c
260
296
```
261
297
262
298
## OCaml/Reason - esy
299
+
263
300
Esy allows you to export built dependencies and import pre-built dependencies.
264
301
```yaml
265
302
- name: Restore Cache
@@ -280,13 +317,12 @@ Esy allows you to export built dependencies and import pre-built dependencies.
280
317
...(Build job)...
281
318
282
319
# Re-export dependencies if anything has changed or if it is the first time
@@ -307,11 +343,13 @@ Esy allows you to export built dependencies and import pre-built dependencies.
307
343
For pip, the cache directory will vary by OS. See https://pip.pypa.io/en/stable/reference/pip_install/#caching
308
344
309
345
Locations:
310
-
- Ubuntu: `~/.cache/pip`
311
-
- Windows: `~\AppData\Local\pip\Cache`
312
-
- macOS: `~/Library/Caches/pip`
346
+
347
+
- Ubuntu: `~/.cache/pip`
348
+
- Windows: `~\AppData\Local\pip\Cache`
349
+
- macOS: `~/Library/Caches/pip`
313
350
314
351
### Simple example
352
+
315
353
```yaml
316
354
- uses: actions/cache@v2
317
355
with:
@@ -410,11 +448,13 @@ jobs:
410
448
For renv, the cache directory will vary by OS. Look at https://rstudio.github.io/renv/articles/renv.html#cache
0 commit comments