Skip to content

Commit

Permalink
Use built-in library functions in preference to custom implementations
Browse files Browse the repository at this point in the history
- Use built-in `hashFiles` function included in '@actions/globv0.2.0'
- Use `downloadTool` and `extractZip` functions from '@actions/tool-cache'
  • Loading branch information
bigdaz committed Jul 5, 2021
1 parent 47c9af9 commit 738bda9
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 227 deletions.
2 changes: 1 addition & 1 deletion dist/main/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/post/index.js

Large diffs are not rendered by default.

166 changes: 21 additions & 145 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,8 @@
"@actions/exec": "1.1.0",
"@actions/glob": "0.2.0",
"@actions/http-client": "1.0.11",
"@actions/io": "1.1.1",
"@actions/tool-cache": "1.7.1",
"string-argv": "0.3.1",
"unzipper": "0.10.11"
"string-argv": "0.3.1"
},
"devDependencies": {
"@types/jest": "26.0.23",
Expand Down
Loading

0 comments on commit 738bda9

Please sign in to comment.