Skip to content

Commit

Permalink
Add Windows support (#296)
Browse files Browse the repository at this point in the history
* feat: add platform type

* feat: add windows downloadUrl

* fix: executable file must has a valid extension

* fix: downloadLatest pathForValidation not found in windows

* fix: path format in windows

* fix: downloadVersion url

* style: use ==/!= instead of ===/!==

* fix: use path.sep instead of path.normalize or path.resolve

* fix: replace the hardcoded unix path separators / with `${path.sep}`

* revert: "style: use ==/!= instead of ===/!=="

This reverts commit d5b56b4.
  • Loading branch information
he0119 authored Jul 12, 2024
1 parent 095fbb0 commit b0de59c
Show file tree
Hide file tree
Showing 13 changed files with 229 additions and 104 deletions.
46 changes: 33 additions & 13 deletions dist/save-cache/index.js

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

2 changes: 1 addition & 1 deletion dist/save-cache/index.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit b0de59c

Please sign in to comment.