mirror of
https://github.com/actions/setup-go.git
synced 2024-11-15 20:04:38 +08:00
remove a sample with text file
This commit is contained in:
parent
1ac9d654af
commit
ff99eca7af
11
README.md
11
README.md
@ -234,17 +234,6 @@ including the source code files into `cache-dependency-path` input.
|
||||
- run: go run hello.go
|
||||
```
|
||||
|
||||
But more practically to manage the cache with the text file manually updated according to the amount
|
||||
of changes made in the repo.
|
||||
|
||||
```yaml
|
||||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.17'
|
||||
cache-dependency-path: go.sum cache-version.txt
|
||||
- run: go run hello.go
|
||||
```
|
||||
|
||||
### Caching with actions/cache
|
||||
The caching capabilities of the action are limited for the simplest builds and can be ineffective in the real world
|
||||
use cases. If the build requires fine-grained turning the built-in caching should be disabled and
|
||||
|
Loading…
Reference in New Issue
Block a user