mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-12-25 12:05:53 +00:00
Update examples.md
This commit is contained in:
parent
ca1c035094
commit
35f35f44e8
1 changed files with 16 additions and 0 deletions
16
examples.md
16
examples.md
|
@ -31,6 +31,7 @@
|
|||
- [Swift, Objective-C - Carthage](#swift-objective-c---carthage)
|
||||
- [Swift, Objective-C - CocoaPods](#swift-objective-c---cocoapods)
|
||||
- [Swift - Swift Package Manager](#swift---swift-package-manager)
|
||||
- [Swift - Mint](#swift---mint)
|
||||
|
||||
## C# - NuGet
|
||||
Using [NuGet lock files](https://docs.microsoft.com/nuget/consume-packages/package-references-in-project-files#locking-dependencies):
|
||||
|
@ -503,3 +504,18 @@ When dependencies are installed later in the workflow, we must specify the same
|
|||
restore-keys: |
|
||||
${{ runner.os }}-spm-
|
||||
```
|
||||
|
||||
## Swift - Mint
|
||||
|
||||
```yaml
|
||||
env:
|
||||
MINT_PATH: mint/lib
|
||||
MINT_LINK_PATH: mint/bin
|
||||
steps:
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: mint
|
||||
key: ${{ runner.os }}-mint-${{ hashFiles('**/Mintfile') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-mint-
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue