Compare commits
28 Commits
v1.0.3
...
3d01b4eb53
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3d01b4eb53 | ||
|
|
95c1798369 | ||
|
|
639f9d8b81 | ||
|
|
d9fe1b81f9 | ||
|
|
92ae3b63f8 | ||
|
|
84b3b283f0 | ||
|
|
8d14a2150b | ||
|
|
c0584c42d1 | ||
|
|
bb828da54c | ||
|
|
7e7aef2963 | ||
|
|
b7d83b4095 | ||
|
|
50a2fdee6f | ||
|
|
f0cbadd748 | ||
|
|
4657a5f525 | ||
|
|
fb50aa45ec | ||
|
|
31508256ff | ||
|
|
bc821d0c12 | ||
|
|
bde557aefd | ||
|
|
4b0709a0d5 | ||
|
|
ecf6eea708 | ||
|
|
eb10706a9d | ||
|
|
30524a6fbd | ||
|
|
b034b26a44 | ||
|
|
e1ed41a9c9 | ||
|
|
5f4d4d4555 | ||
|
|
5d3ad75a2b | ||
|
|
d8c5e69fe2 | ||
|
|
f66a56e59e |
5209
dist/restore/index.js
vendored
5209
dist/restore/index.js
vendored
File diff suppressed because it is too large
Load Diff
5182
dist/save/index.js
vendored
5182
dist/save/index.js
vendored
File diff suppressed because it is too large
Load Diff
41
examples.md
41
examples.md
@@ -1,25 +1,18 @@
|
||||
# Examples
|
||||
|
||||
- [Examples](#examples)
|
||||
- [C# - Nuget](#c---nuget)
|
||||
- [Elixir - Mix](#elixir---mix)
|
||||
- [Go - Modules](#go---modules)
|
||||
- [Java - Gradle](#java---gradle)
|
||||
- [Java - Maven](#java---maven)
|
||||
- [Node - npm](#node---npm)
|
||||
- [macOS and Ubuntu](#macos-and-ubuntu)
|
||||
- [Windows](#windows)
|
||||
- [Using multiple systems and `npm config`](#using-multiple-systems-and-npm-config)
|
||||
- [Node - Yarn](#node---yarn)
|
||||
- [PHP - Composer](#php---composer)
|
||||
- [Python - pip](#python---pip)
|
||||
- [Simple example](#simple-example)
|
||||
- [Multiple OS's in a workflow](#multiple-oss-in-a-workflow)
|
||||
- [Using a script to get cache location](#using-a-script-to-get-cache-location)
|
||||
- [Ruby - Gem](#ruby---gem)
|
||||
- [Rust - Cargo](#rust---cargo)
|
||||
- [Swift, Objective-C - Carthage](#swift-objective-c---carthage)
|
||||
- [Swift, Objective-C - CocoaPods](#swift-objective-c---cocoapods)
|
||||
- [C# - Nuget](#c---nuget)
|
||||
- [Elixir - Mix](#elixir---mix)
|
||||
- [Go - Modules](#go---modules)
|
||||
- [Java - Gradle](#java---gradle)
|
||||
- [Java - Maven](#java---maven)
|
||||
- [Node - npm](#node---npm)
|
||||
- [Node - Yarn](#node---yarn)
|
||||
- [PHP - Composer](#php---composer)
|
||||
- [Python - pip](#python---pip)
|
||||
- [Ruby - Gem](#ruby---gem)
|
||||
- [Rust - Cargo](#rust---cargo)
|
||||
- [Swift, Objective-C - Carthage](#swift-objective-c---carthage)
|
||||
- [Swift, Objective-C - CocoaPods](#swift-objective-c---cocoapods)
|
||||
|
||||
## C# - Nuget
|
||||
Using [NuGet lock files](https://docs.microsoft.com/nuget/consume-packages/package-references-in-project-files#locking-dependencies):
|
||||
@@ -226,6 +219,14 @@ Replace `~/.cache/pip` with the correct `path` if not using Ubuntu.
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gem-
|
||||
```
|
||||
When dependencies are installed later in the workflow, we must specify the same path for the bundler.
|
||||
|
||||
```yaml
|
||||
- name: Bundle install
|
||||
run: |
|
||||
bundle config path vendor/bundle
|
||||
bundle install --jobs 4 --retry 3
|
||||
```
|
||||
|
||||
## Rust - Cargo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user