Giter Site home page Giter Site logo

Comments (11)

domenkozar avatar domenkozar commented on May 23, 2024 6

Thinking of making this the default implementation 🤔

from cachix-action.

terlar avatar terlar commented on May 23, 2024 2

Tested this and now everything seems to be working as expected. Will do some more tests, especially having something that needs to cache many things, to see how it performs.

from cachix-action.

domenkozar avatar domenkozar commented on May 23, 2024 1

This is now in beta, help us test:

- uses: cachix/cachix-action@d150e67a68baa578596bcdbdf830657b4a173df4
  with:
    useDaemon: true

from cachix-action.

sandydoo avatar sandydoo commented on May 23, 2024 1

@terlar, thanks for the logs! The post-build-hook was completely overriding the existing nix configuration. We now tell nix to load and merge any existing user nix.confs.

from cachix-action.

domenkozar avatar domenkozar commented on May 23, 2024 1

https://blog.cachix.org/posts/2024-01-12-cachix-v1-7/

from cachix-action.

colemickens avatar colemickens commented on May 23, 2024

(and I'm not sure, it seems like maybe cachix action will upload by default, even if steps fail, but in my case, the entire Workflow gets into a bad state because the runner failure looks like an internal failure...)

from cachix-action.

domenkozar avatar domenkozar commented on May 23, 2024

You should be able to do that by running cachix watch-store $CACHE_NAME after cachix-action.

from cachix-action.

terlar avatar terlar commented on May 23, 2024

I agree this would be a nice default

from cachix-action.

terlar avatar terlar commented on May 23, 2024

I tried this commit, but seems the install step is not executing the correct command:

Run cachix/cachix-action@d150e67a68baa578596bcdbdf830657b4a173df4
  with:
    name: terlar
    authToken: ***
    extraPullNames: nix-community
    useDaemon: true
Cachix: installing
  /usr/bin/bash -c 
Cachix: checking version
  Error: Action failed with error: Error: Unable to locate executable file: cachix. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.

from cachix-action.

sandydoo avatar sandydoo commented on May 23, 2024

@terlar, thanks for the feedback! Should be fixed in cachix/cachix-action@5fc8ed76f6a97fdf54319a5f6846f67b60c9ed5d

from cachix-action.

terlar avatar terlar commented on May 23, 2024

Thank you, that worked, however, when running that commit with useDaemon enabled it seems my cache was not used. I did not look into why, but it has been working before:
https://github.com/terlar/emacs-config/actions/runs/6432508165

I'll investigate it when I have time to see if the nix.conf was updated correctly or what the deal is...

from cachix-action.

Related Issues (20)

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.