samueldr/nix-build action
All-inclusive single action to *just* nix-build your project.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| expression-file | The expression file to build. When missing, it will try in order: `[ ./release.nix ./default.nix ]`. | no | — |
| attributes | Attributes to build from the expression. When missing, it will follow the default Nix semantics around build outputs. | no | — |
| nix-expression | When provided, `nix-build` will pass the given value to the standard input, and build that instead of `expression-file`. | no | — |
| nix-build-extra-arguments | When provided, the call to `nix-build` will use these appended extra arguments. > [!WARNING] > Beware of string splitting semantics! | no | — |
| nix-path | When provided, `NIX_PATH` will be set to this value. | no | — |
| checkout-repo | Whether the repository will be checked-out automatically with the actions/checkout action. Use `false` to bring your own checkout action alternative. | no | true |
| space-making-action | Space making action to use. Supports the following: `[ "none" "more-space-action" ]`. Not enabled by default as it adds some time to the action runtime, while not always being necessary. | no | none |
| installer-action | Installer action to use. Supports the following: `[ "lix-gha-installer-action" "none" ]`. Use `none` to bring your own. | no | lix-gha-installer-action |
| cache-action | Cache action to use. Supports the following: `[ "none" ]`. Use `none` to disable or bring your own. | no | none |
| initial-random-delay-max | Setting this option to a numeric value other than zero enables waiting a random amount of time at the start of the action. This is a common repeated pattern used to work around a thundering herd of github actions trampling over the API rate limits when dealing with multiple parallel builds, which may be exacerbated by using a matrix strategy. | no | 0 |
Outputs
no outputs