Skip to content

Releases: kadena-io/setup-nix-with-cache

v3.1

08 Nov 22:09
279b76b
Compare
Choose a tag to compare

Recursive nix capabilities

v3: Implement actions for mac-m1 runners (#4)

28 Aug 16:38
88ed81f
Compare
Choose a tag to compare
* Restart the Nix daemon on MacOS

* Use absolute Nix path in post-build-hook

* Restore the env vars in post-build-hook

* Perform upload as runner

* Make upload-paths executable

* tee upload-paths

* Detach socat twice

* Whitespace

* Add debug lines

* Wait more for nix shell

* Fixing m1 mac (#3)

We can drop the echo $PATH in the test job, that was just for diagnosis

* Update action.yml

* Update action.yml

* Update action.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update action.yml

* Use ncat instead of socat

* Add a sleep

* Make a phony upload request

* Add a sleep

* Add shebang

* Perform the actual upload

* Let the build hook receive copy logs

* Give root user access to aws credentials

* Save credentials from environment

* Read from env

* Redirect to file in sudo

* Let post-build-hook perform upload

Now that we give root user access

* Run nix with full path

* Expose multiple actions for various use cases

* Fix runner.name condition for install nix

* Avoid ternary operator in env var expression

* Allow substitution in root path

* Set NIX_PATH for mac-m1

* Remove export from NIX_PATH string

* Remove unnecessary conditions

* Avoid the deprecated ::set-ouput

* Add overriden nix.conf opts

* Remove comment

* Experiment

* Try running a nix build

* Try adding back post-build-hook

* Pass nix_path option to install-nix-action

* Experiment with adding sleep

* Experiment with increasing sleep

* Wait until nix daemon comes back

* Update readme

* Remove empty testfile

* Add disclaimer for external users

---------

Co-authored-by: June <38109440+DevopsGoth@users.noreply.github.com>

v2.2

28 Aug 18:23
Compare
Choose a tag to compare
single metafile

v2.1

28 Aug 17:28
88ed81f
Compare
Choose a tag to compare

This is v3 actually but multiple repos are pointing at v2

v2

28 Aug 16:39
d977b8b
Compare
Choose a tag to compare
v2
Fixing m1 mac builds (#2)

works on macos arm runners now, had to add default nix bin directory to /etc/paths