Giter Club home page Giter Club logo

wasm-pack-action's People

Contributors

jetli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

wasm-pack-action's Issues

Erroring under windows-latest

Works perfectly (and efficiently) under macOS-latest and ubuntu-latest, but under windows-latest, it's throwing the following error:

Run jetli/[email protected]
Installing wasm-pack v0.9.1 ...
Downloading wasm-pack from https://github.com/rustwasm/wasm-pack/releases/download/v0.9.1/wasm-pack-v0.9.1-x86_64-pc-windows-msvc.tar.gz ...
Extracting wasm-pack to C:\Users\RUNNER~1\AppData\Local\Temp\setup-wasm-pack ...
C:\windows\system32\tar.exe xz -C C:\Users\RUNNER~1\AppData\Local\Temp\setup-wasm-pack -f D:\a\_temp\6dc27533-e606-4b47-baee-68dde941d860
##[error]ENOENT: no such file or directory, rename 'C:\Users\RUNNER~1\AppData\Local\Temp\setup-wasm-pack\wasm-pack.exe' -> 'C:\Users\runneradmin\.cargo\bin\wasm-pack.exe'
Done

Do you have any suggestions on how to fix this? I would have thought your

await io.mkdirP(execFolder)

on main.ts#L64 would be sufficient, but it appears the

await io.mv(path.join(extractedFolder, archTopFolder, exec), execPath)

is still failing.

Support wasm-bindgen-cli

wasm-bindgen-cli also a commonly used library when using wasm toolkit.

cargo install wasm-bindgen-cli takes about 6 min, which takes up most of the ci time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.