From 1ac9d654af07606d4da12579126f1b9e0f806682 Mon Sep 17 00:00:00 2001 From: Sergey Dolin Date: Wed, 30 Aug 2023 16:15:18 +0200 Subject: [PATCH] Fix glob pattern use --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0ea50fb..7e5ba9c 100644 --- a/README.md +++ b/README.md @@ -201,9 +201,7 @@ steps: ``` ### Multi-target builds -`cache-dependency-path` input used to generate unuque cache key and it is not limited to only -dependencies files. The common case is to add a file containing the extr info about the specific -build, for example build target. +The 'cache-dependency-path' input doesn't limit itself to dependency lock files only. It can also be used with additional files that contain details about the build settings. By using this method, caches for builds created for various operating systems, architectures, etc. can be separated. ```yaml env: @@ -216,7 +214,9 @@ steps: - uses: actions/setup-go@v4 with: go-version: '1.17' - cache-dependency-path: go.sum /tmp/env + cache-dependency-path: | + go.sum + /tmp/env - run: go run hello.go ```