workflow: test post-build hook
This commit is contained in:
parent
140f0f5dcf
commit
c193ba2108
2 changed files with 20 additions and 5 deletions
8
ci/upload-to-cache.sh
Executable file
8
ci/upload-to-cache.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
# https://nix.dev/guides/recipes/post-build-hook.html#implementing-the-build-hook
|
||||
set -eu
|
||||
set -f # disable globbing
|
||||
export IFS=' '
|
||||
echo "Uploading paths" $OUT_PATHS
|
||||
exec nix copy --to "s3://nixcache" $OUT_PATHS
|
Loading…
Add table
Add a link
Reference in a new issue