Compare commits
6 Commits
3d01b4eb53
...
v1.0.3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cffae9552b | ||
|
|
44543250bd | ||
|
|
6491e51b66 | ||
|
|
86dff562ab | ||
|
|
0f810ad45a | ||
|
|
9d8c7b4041 |
5209
dist/restore/index.js
vendored
Normal file
5209
dist/restore/index.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
5182
dist/save/index.js
vendored
Normal file
5182
dist/save/index.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
41
examples.md
41
examples.md
@@ -1,18 +1,25 @@
|
|||||||
# Examples
|
# Examples
|
||||||
|
|
||||||
- [C# - Nuget](#c---nuget)
|
- [Examples](#examples)
|
||||||
- [Elixir - Mix](#elixir---mix)
|
- [C# - Nuget](#c---nuget)
|
||||||
- [Go - Modules](#go---modules)
|
- [Elixir - Mix](#elixir---mix)
|
||||||
- [Java - Gradle](#java---gradle)
|
- [Go - Modules](#go---modules)
|
||||||
- [Java - Maven](#java---maven)
|
- [Java - Gradle](#java---gradle)
|
||||||
- [Node - npm](#node---npm)
|
- [Java - Maven](#java---maven)
|
||||||
- [Node - Yarn](#node---yarn)
|
- [Node - npm](#node---npm)
|
||||||
- [PHP - Composer](#php---composer)
|
- [macOS and Ubuntu](#macos-and-ubuntu)
|
||||||
- [Python - pip](#python---pip)
|
- [Windows](#windows)
|
||||||
- [Ruby - Gem](#ruby---gem)
|
- [Using multiple systems and `npm config`](#using-multiple-systems-and-npm-config)
|
||||||
- [Rust - Cargo](#rust---cargo)
|
- [Node - Yarn](#node---yarn)
|
||||||
- [Swift, Objective-C - Carthage](#swift-objective-c---carthage)
|
- [PHP - Composer](#php---composer)
|
||||||
- [Swift, Objective-C - CocoaPods](#swift-objective-c---cocoapods)
|
- [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
|
||||||
Using [NuGet lock files](https://docs.microsoft.com/nuget/consume-packages/package-references-in-project-files#locking-dependencies):
|
Using [NuGet lock files](https://docs.microsoft.com/nuget/consume-packages/package-references-in-project-files#locking-dependencies):
|
||||||
@@ -219,14 +226,6 @@ Replace `~/.cache/pip` with the correct `path` if not using Ubuntu.
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-gem-
|
${{ 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
|
## Rust - Cargo
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user