v3: Implement actions for mac-m1 runners (#4)
Latest
* 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>