Cyberbeni / install-swift-tool

GitHub Action to build and cache any Swift based tool in workflows.
MIT License
19 stars 2 forks source link

Allow specifying Package.resolved file instead of version #121

Closed Cyberbeni closed 1 month ago

Cyberbeni commented 2 years ago

The motivation is that the version for tools should be defined at 1 place. This place can often be the Package.swift or the Package.locked file. Package.resolved is a JSON file with the exact revision we are looking for and we don't want to resolve to a different version by using Package.swift, so only supporting Package.resolved first is fine.