determinate-nix-action/action.yml
github-actions[bot] f4c468f228
Some checks failed
/ Build (push) Failing after 1s
Release v3.19.0 (#62)
* Prepare release v3.19.0

* Update the state.json for v3.19.0

* Update README.md and action.yml for v3.19.0

* flake.lock: Update

Flake lock file updates:

• Updated input 'nixpkgs':
    'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.982522%2Brev-b12141ef619e0a9c1c84dc8c684040326f27cdcc/019dac49-3fcc-79b0-85fb-7ee694b1cf62/source.tar.gz' (2026-04-18)
  → 'https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.987561%2Brev-1c3fe55ad329cbcb28471bb30f05c9827f724c76/019dd544-2f5a-70b0-a89a-cf26aa85b1a7/source.tar.gz' (2026-04-27)

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-30 01:49:59 +00:00

137 lines
No EOL
6.5 KiB
YAML

{
"name": "Install Determinate Nix",
"description": "Install Determinate Nix. See: https://docs.determinate.systems",
"branding": {
"icon": "box",
"color": "rainbow"
},
"inputs": {
"extra-conf": {
"description": "Extra configuration lines for `/etc/nix/nix.conf` (includes `access-tokens` with `secrets.GITHUB_TOKEN` automatically if `github-token` is set)",
"required": false
},
"github-server-url": {
"description": "The URL for the GitHub server, to use with the `github-token` token. Defaults to the current GitHub server, supporting GitHub Enterprise Server automatically. Only change this value if the provided `github-token` is for a different GitHub server than the current server.",
"default": "${{ github.server_url }}"
},
"github-token": {
"description": "A GitHub token for making authenticated requests (which have a higher rate-limit quota than unauthenticated requests)",
"default": "${{ github.token }}"
},
"trust-runner-user": {
"description": "Whether to make the runner user trusted by the Nix daemon",
"default": true
},
"summarize": {
"description": "Whether to add a build summary and timeline chart to the GitHub job summary",
"default": true
},
"force-no-systemd": {
"description": "Force using other methods than systemd to launch the daemon. This setting is automatically enabled when necessary.",
"required": false,
"default": false
},
"init": {
"description": "The init system to configure, requires `planner: linux-multi` (allowing the choice between `none` or `systemd`)",
"required": false
},
"kvm": {
"description": "Automatically configure the GitHub Actions Runner for NixOS test supports, if the host supports it.",
"required": false,
"default": true
},
"planner": {
"description": "A planner to use",
"required": false
},
"proxy": {
"description": "The proxy to use (if any), valid proxy bases are `https://$URL`, `http://$URL` and `socks5://$URL`",
"required": false
},
"reinstall": {
"description": "Force a reinstall if an existing installation is detected (consider backing up `/nix/store`)",
"required": false,
"default": false
},
"source-binary": {
"description": "Run a version of the nix-installer binary from somewhere already on disk. Conflicts with all other `source-*` options. Intended only for testing this Action.",
"required": false
},
"source-branch": {
"description": "The branch of `nix-installer` to use (conflicts with `source-tag`, `source-revision`, `source-pr`)",
"required": false
},
"source-pr": {
"description": "The PR of `nix-installer` to use (conflicts with `source-tag`, `source-revision`, `source-branch`)",
"required": false
},
"source-revision": {
"description": "The revision of `nix-installer` to use (conflicts with `source-tag`, `source-branch`, `source-pr`)",
"required": false
},
"source-tag": {
"description": "The tag of `nix-installer` to use (conflicts with `source-revision`, `source-branch`, `source-pr`)",
"required": false,
"default": "v3.19.0"
},
"source-url": {
"description": "A URL pointing to a `nix-installer` executable",
"required": false
},
"backtrace": {
"description": "The setting for `RUST_BACKTRACE` (see https://doc.rust-lang.org/std/backtrace/index.html#environment-variables)",
"required": false
},
"diagnostic-endpoint": {
"description": "Diagnostic endpoint url where the installer sends data to. To disable set this to an empty string.",
"required": false,
"default": "-"
},
"log-directives": {
"description": "A list of Tracing directives, comma separated, `-`s replaced with `_` (eg. `nix_installer=trace`, see https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#directives)",
"required": false
},
"logger": {
"description": "The logger to use for install (eg. `pretty`, `json`, `full`, `compact`)",
"required": false
},
"_internal-strict-mode": {
"description": "Whether to fail when any errors are thrown. Used only to test the Action; do not set this in your own workflows.",
"required": false,
"default": false
}
},
"runs": {
"using": "composite",
"steps": [
{
"uses": "DeterminateSystems/nix-installer-action@4a754ab0c192f4d12cf88b5954b9dd13fd2d612e",
"with": {
"extra-conf": "${{ inputs.extra-conf }}",
"github-server-url": "${{ inputs.github-server-url }}",
"github-token": "${{ inputs.github-token }}",
"trust-runner-user": "${{ inputs.trust-runner-user }}",
"summarize": "${{ inputs.summarize }}",
"force-no-systemd": "${{ inputs.force-no-systemd }}",
"init": "${{ inputs.init }}",
"kvm": "${{ inputs.kvm }}",
"planner": "${{ inputs.planner }}",
"proxy": "${{ inputs.proxy }}",
"reinstall": "${{ inputs.reinstall }}",
"source-binary": "${{ inputs.source-binary }}",
"source-branch": "${{ inputs.source-branch }}",
"source-pr": "${{ inputs.source-pr }}",
"source-revision": "${{ inputs.source-revision }}",
"source-tag": "${{ inputs.source-tag }}",
"source-url": "${{ inputs.source-url }}",
"backtrace": "${{ inputs.backtrace }}",
"diagnostic-endpoint": "${{ inputs.diagnostic-endpoint }}",
"log-directives": "${{ inputs.log-directives }}",
"logger": "${{ inputs.logger }}",
"_internal-strict-mode": "${{ inputs._internal-strict-mode }}",
"determinate": true
}
}
]
}
}