Commit a12ae43
Add --overwrite flag to tar extraction (#156)
* Add --overwrite flag to tar extraction
There are times when previous actions have already extracted at least
some files to the cache location. This results in subsequent cache
extraction operations to emit errors such as:
> /usr/bin/tar: [dest_file_path]: Cannot open: File exists
This adds the --overwrite flag to the extract call to force tar to
just overwrite these files rather than reporting errors.
Signed-off-by: Sean McGinnis <[email protected]>
* npm run lint-fix & npm run format
* ignore macOS
Co-authored-by: Sergey Vilgelm <[email protected]>1 parent f1dee55 commit a12ae43
3 files changed
+18
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49250 | 49250 | | |
49251 | 49251 | | |
49252 | 49252 | | |
49253 | | - | |
| 49253 | + | |
| 49254 | + | |
| 49255 | + | |
| 49256 | + | |
| 49257 | + | |
| 49258 | + | |
49254 | 49259 | | |
49255 | 49260 | | |
49256 | 49261 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49260 | 49260 | | |
49261 | 49261 | | |
49262 | 49262 | | |
49263 | | - | |
| 49263 | + | |
| 49264 | + | |
| 49265 | + | |
| 49266 | + | |
| 49267 | + | |
| 49268 | + | |
49264 | 49269 | | |
49265 | 49270 | | |
49266 | 49271 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
49 | 54 | | |
50 | 55 | | |
51 | 56 | | |
| |||
0 commit comments