1
0
Fork 0
mirror of https://git.madhouse-project.org/actions/nix.git synced 2025-05-12 06:49:54 +02:00

build: Allow setting the out link

Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
This commit is contained in:
Gergely Nagy 2023-09-25 10:04:42 +02:00
parent 3cac748ae0
commit 795ee85b9a
3 changed files with 8 additions and 2 deletions

View file

@ -44,6 +44,7 @@ A thin wrapper around `nix build`, to make it slightly easier to build flakes. W
flake: .
package: # there's no default, Nix itself will fall back to "default"
logs: false
out-link: "result"
```
By default, it builds the default package in the flake at the root of the repository the action is used for, thus, if all you want to do is build the default package, and don't care about seeing full logs, you do not need to specify any parameters, the action will do the right thing out of the box.