cachix / cachix-action

Build software only once and put it in a global cache
https://cachix.org
Apache License 2.0
252 stars 40 forks source link

Add option to avoid calling `cachix use` #148

Closed Enzime closed 1 year ago

Enzime commented 1 year ago

This is particularly useful on self-hosted runners where we can already add the Cachix cache to substituters but don't want to set the runner as a trusted user.

The better fix would've been to update cachix use to check if the substituters already contains the binary cache we're about to add, but I'm not too familiar with Haskell so this was the easiest way to fix this issue

Enzime commented 1 year ago

@domenkozar can you take a look at this when you have a chance?