Skip to content

Commit

Permalink
Updated tc.cacheFile example (actions#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
danechitoaie authored and bryanmacfarlane committed Dec 11, 2019
1 parent 80e91ee commit 9f6c37a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tool-cache/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f6c37a

Please sign in to comment.