1
0
Fork 0

Updated tc.cacheFile example (#226)

pull/252/head
Daniel Anechitoaie 2019-12-12 01:05:18 +02:00 committed by Bryan MacFarlane
parent 80e91ee891
commit 9f6c37ac52
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ You can also cache files for reuse.
```js
const tc = require('@actions/tool-cache');
tc.cacheFile('path/to/exe', 'destFileName.exe', 'myExeName', '1.1.0');
const cachedPath = await tc.cacheFile('path/to/exe', 'destFileName.exe', 'myExeName', '1.1.0');
```
#### Find