From 795a8f09a93a0b3dd5b8525b89d8344fec468733 Mon Sep 17 00:00:00 2001
From: Peter Mescalchin <peter@magnetikonline.com>
Date: Sun, 26 Sep 2021 22:05:48 +1000
Subject: [PATCH 1/5] Fixed Windows Golang cache paths in example

---
 examples.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples.md b/examples.md
index 1f6ecef..b93ab5b 100644
--- a/examples.md
+++ b/examples.md
@@ -149,8 +149,8 @@ steps:
 - uses: actions/cache@v2
   with:
     path: |
-      %LocalAppData%\go-build
-      ~/go/pkg/mod
+      ~\AppData\Local\go-build
+      ~\go\pkg\mod
     key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
     restore-keys: |
       ${{ runner.os }}-go-

From 47e8bd685f2238dfc588ce75eb6da284d10fbee3 Mon Sep 17 00:00:00 2001
From: Peter Mescalchin <peter@magnetikonline.com>
Date: Sun, 26 Sep 2021 22:10:29 +1000
Subject: [PATCH 2/5] Small fix to `README.md` examples link

---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 07f12e8..0a0c09e 100644
--- a/README.md
+++ b/README.md
@@ -86,7 +86,7 @@ Every programming language and framework has its own way of caching.
 
 See [Examples](examples.md) for a list of `actions/cache` implementations for use with:
 
-- [C# - Nuget](./examples.md#c---nuget)
+- [C# - NuGet](./examples.md#c---nuget)
 - [D - DUB](./examples.md#d---dub)
 - [Elixir - Mix](./examples.md#elixir---mix)
 - [Go - Modules](./examples.md#go---modules)

From 447f0fd1d371f2ddcccfe4d5d2b4c57f21c4bec6 Mon Sep 17 00:00:00 2001
From: Peter Mescalchin <peter@magnetikonline.com>
Date: Sun, 26 Sep 2021 22:10:48 +1000
Subject: [PATCH 3/5] Chomp some markdown whitespace

---
 README.md   | 10 +++++-----
 examples.md |  1 +
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md
index 0a0c09e..01a2e99 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,7 @@ See ["Caching dependencies to speed up workflows"](https://help.github.com/githu
 
 ## What's New
 
-* Added support for multiple paths, [glob patterns](https://github.com/actions/toolkit/tree/main/packages/glob), and single file caches. 
+* Added support for multiple paths, [glob patterns](https://github.com/actions/toolkit/tree/main/packages/glob), and single file caches.
 
 ```yaml
 - name: Cache multiple paths
@@ -36,7 +36,7 @@ Create a workflow `.yml` file in your repositories `.github/workflows` directory
 
 ### Inputs
 
-* `path` - A list of files, directories, and wildcard patterns to cache and restore. See [`@actions/glob`](https://github.com/actions/toolkit/tree/main/packages/glob) for supported patterns. 
+* `path` - A list of files, directories, and wildcard patterns to cache and restore. See [`@actions/glob`](https://github.com/actions/toolkit/tree/main/packages/glob) for supported patterns.
 * `key` - An explicit key for restoring and saving the cache
 * `restore-keys` - An ordered list of keys to use for restoring the cache if no cache hit occurred for key
 
@@ -47,7 +47,7 @@ Create a workflow `.yml` file in your repositories `.github/workflows` directory
 > See [Skipping steps based on cache-hit](#Skipping-steps-based-on-cache-hit) for info on using this output
 
 ### Cache scopes
-The cache is scoped to the key and branch. The default branch cache is available to other branches. 
+The cache is scoped to the key and branch. The default branch cache is available to other branches.
 
 See [Matching a cache key](https://help.github.com/en/actions/configuring-and-managing-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key) for more info.
 
@@ -117,9 +117,9 @@ For example, using the [`hashFiles`](https://help.github.com/en/actions/referenc
 ```yaml
   - uses: actions/cache@v2
     with:
-      path: | 
+      path: |
         path/to/dependencies
-        some/other/dependencies 
+        some/other/dependencies
       key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
 ```
 
diff --git a/examples.md b/examples.md
index b93ab5b..201f1af 100644
--- a/examples.md
+++ b/examples.md
@@ -66,6 +66,7 @@ With `actions/cache@v2` you can now exclude unwanted packages with [exclude patt
 
 Or you could move the cache folder like below.
 >Note: This workflow does not work for projects that require files to be placed in user profile package folder
+
 ```yaml
 env:
   NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages

From 3fdafa472e0db16435add384585aa138ffdd16d3 Mon Sep 17 00:00:00 2001
From: Peter Mescalchin <peter@magnetikonline.com>
Date: Thu, 24 Feb 2022 16:32:52 +1100
Subject: [PATCH 4/5] Update GitHub Actions status badge markdown in
 `README.md`

---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index ceec2e5..a923371 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
 
 This action allows caching dependencies and build outputs to improve workflow execution time.
 
-<a href="https://github.com/actions/cache/actions?query=workflow%3ATests"><img alt="GitHub Actions status" src="https://github.com/actions/cache/workflows/Tests/badge.svg?branch=main&event=push"></a>
+[![Tests](https://github.com/actions/cache/actions/workflows/workflow.yml/badge.svg)](https://github.com/actions/cache/actions/workflows/workflow.yml)
 
 ## Documentation
 

From 6535c5fb5fe2870754afba7bd4e514867ac9cb98 Mon Sep 17 00:00:00 2001
From: Peter Mescalchin <peter@magnetikonline.com>
Date: Thu, 24 Feb 2022 16:36:25 +1100
Subject: [PATCH 5/5] Regenerated `examples.md` TOC

---
 examples.md | 2 --
 1 file changed, 2 deletions(-)

diff --git a/examples.md b/examples.md
index bd903f4..53f68a5 100644
--- a/examples.md
+++ b/examples.md
@@ -29,8 +29,6 @@
   - [Using pip to get cache location](#using-pip-to-get-cache-location)
 - [Python - pipenv](#python---pipenv)
 - [R - renv](#r---renv)
-  - [Simple example](#simple-example-1)
-  - [Multiple OS's in a workflow](#multiple-oss-in-a-workflow-1)
 - [Ruby - Bundler](#ruby---bundler)
 - [Rust - Cargo](#rust---cargo)
 - [Scala - SBT](#scala---sbt)