From 0188dffc5a9973623bf3323af68a20d0ea5d4b4c Mon Sep 17 00:00:00 2001
From: Nogic <24802730+nogic1008@users.noreply.github.com>
Date: Fri, 13 Dec 2019 10:03:43 +0900
Subject: [PATCH] Revert original C# Example

* Treat "Use Personal Cache Folder" way as another C# example
* Describe the situation in which another example should be used
---
 examples.md | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/examples.md b/examples.md
index cc5da9e..7552281 100644
--- a/examples.md
+++ b/examples.md
@@ -17,10 +17,20 @@
 ## C# - NuGet
 Using [NuGet lock files](https://docs.microsoft.com/nuget/consume-packages/package-references-in-project-files#locking-dependencies):
 
+```yaml
+- uses: actions/cache@v1
+  with:
+    path: ~/.nuget/packages
+    key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
+    restore-keys: |
+      ${{ runner.os }}-nuget-
+```
+
+Depending on the environment, huge packages might be pre-installed in the global cache folder.
+If you do not want to include them, consider to move the cache folder like below.
+>Note: This workflow does not work for projects that require files to be placed in the global.
 ```yaml
 env:
-  # Use personal cache folder because global cache may have huge packages like Xamarin.
-  # Learn more, see issue #115.
   NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
 steps:
   - uses: actions/cache@v1