From c8718e9e2f332927a0b9818086b22254f15543ec Mon Sep 17 00:00:00 2001 From: Peter Mescalchin Date: Tue, 4 May 2021 16:24:29 +1000 Subject: [PATCH] Added path `~/.cache/go-build` to Golang cache example --- examples.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples.md b/examples.md index d91f0d2..1793f20 100644 --- a/examples.md +++ b/examples.md @@ -116,7 +116,9 @@ steps: ```yaml - uses: actions/cache@v2 with: - path: ~/go/pkg/mod + path: | + ~/.cache/go-build + ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} restore-keys: | ${{ runner.os }}-go-