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- +```