mirror of
https://github.com/actions/setup-go.git
synced 2026-06-29 01:41:43 +00:00
Compare commits
No commits in common. "883490dfd06f396ebe0b738bc313a53cf9d851e5" and "d085b4fe57b6e17262cbebc67b4d2d341d8938c2" have entirely different histories.
883490dfd0
...
d085b4fe57
@ -159,7 +159,7 @@ The `cache` input is optional, and caching is turned on by default.
|
||||
|
||||
The action defaults to search for the dependency file - go.sum in the repository root, and uses its hash as a part of
|
||||
the cache key. Use `cache-dependency-path` input for cases when multiple dependency files are used, or they are located
|
||||
in different subdirectories. The input supports glob patterns.
|
||||
in different subdirectories.
|
||||
|
||||
If some problem that prevents success caching happens then the action issues the warning in the log and continues the execution of the pipeline.
|
||||
|
||||
@ -172,11 +172,7 @@ steps:
|
||||
with:
|
||||
go-version: '1.17'
|
||||
check-latest: true
|
||||
cache-dependency-path: |
|
||||
subdir/go.sum
|
||||
tools/go.sum
|
||||
# cache-dependency-path: "**/*.sum"
|
||||
|
||||
cache-dependency-path: subdir/go.sum
|
||||
- run: go run hello.go
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user