From ca1c035094233906bdec1017995867c171ee80fb Mon Sep 17 00:00:00 2001 From: uhooi Date: Sun, 19 Jul 2020 19:46:58 +0900 Subject: [PATCH 1/3] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a8214c7..041ab57 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,7 @@ See [Examples](examples.md) for a list of `actions/cache` implementations for us - [Swift, Objective-C - Carthage](./examples.md#swift-objective-c---carthage) - [Swift, Objective-C - CocoaPods](./examples.md#swift-objective-c---cocoapods) - [Swift - Swift Package Manager](./examples.md#swift---swift-package-manager) +- [Swift - Mint](./examples.md#swift---mint) ## Creating a cache key From 35f35f44e8e8d029c57adf741a558f9da4edcfbd Mon Sep 17 00:00:00 2001 From: uhooi Date: Sun, 19 Jul 2020 19:52:18 +0900 Subject: [PATCH 2/3] Update examples.md --- examples.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/examples.md b/examples.md index 277c6f3..19d3fbc 100644 --- a/examples.md +++ b/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- +``` From d6217569d58fbcf42f4bdf873fd06820f76724c2 Mon Sep 17 00:00:00 2001 From: uhooi Date: Thu, 29 Dec 2022 22:28:56 +0900 Subject: [PATCH 3/3] Update Mint example --- examples.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples.md b/examples.md index e729537..113d1c3 100644 --- a/examples.md +++ b/examples.md @@ -647,12 +647,12 @@ whenever possible: ```yaml env: - MINT_PATH: mint/lib - MINT_LINK_PATH: mint/bin + MINT_PATH: .mint/lib + MINT_LINK_PATH: .mint/bin steps: - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: - path: mint + path: .mint key: ${{ runner.os }}-mint-${{ hashFiles('**/Mintfile') }} restore-keys: | ${{ runner.os }}-mint-