maxim-lobanov / setup-cocoapods

Set up your GitHub Actions workflow with a specific version of Cocoapods
MIT License
31 stars 6 forks source link

"latest" version should not re-install cocoapods if the same version is already installed #9

Open maxim-lobanov opened 4 years ago

maxim-lobanov commented 4 years ago

For now, setup-cocoapods always re-install cocoapods version if you specify version: latest as input. Sometimes, when latest version is already pre-installed to image, it is just waste of time. if version: latest, action should retrieve the latest version from remote via gem list cocoapods --remote --exact and compare with currently installed version. If they are the same, nothing should be done.