samuelmeuli / action-electron-builder

:electron: GitHub Action for building and releasing Electron apps
MIT License
658 stars 201 forks source link

out-of-date yarn warning #27

Closed cyfrost closed 4 years ago

cyfrost commented 4 years ago

Hi, this action is a great time-saver. I noticed a warning today: this isn't a biggie probably but I figured should be brought forward nonetheless. Is it possible to use latest version of yarn? Another option would be to detect if yarn is already present, and use that instead? Thanks!

[Build/release/release]   🐳  docker cp src=/home/cyrus/.cache/act/samuelmeuli-action-electron-builder@v1.5.0 dst=/actions/
| 
| Will run Yarn commands in directory "."
| 
| Installing dependencies using Yarn…
yarn install v1.16.0
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
warning Your current version of Yarn is out of date. The latest version is "1.22.4", while you're on "1.16.0".
info To upgrade, run the following command:
$ curl --compressed -o- -L https://yarnpkg.com/install.sh | bash
Done in 16.57s.