Updated tc.cacheFile example (#226)

This commit is contained in:
Daniel Anechitoaie authored and Bryan MacFarlane committed 2019-12-11 18:05:18 -05:00
1 parent 133b2f64dd
commit 6ef30bf250
1 file changed
+1 -1
+1 -1
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