Update input description and add test workflow

This commit is contained in:
Luc Perkins 2024-05-16 20:37:01 -03:00
parent 8d4286b90e
commit 397a5c26a7
No known key found for this signature in database
GPG key ID: 16DB1108FB591835
2 changed files with 11 additions and 1 deletions

View file

@ -211,3 +211,13 @@ jobs:
with: with:
duration: 5m duration: 5m
authorized-users: grahamc authorized-users: grahamc
install-with-non-default-inputs:
name: Install Nix using non-default Action inputs
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
source-url: https://install.determinate.systems/nix-installer/stable/X64-Linux
- run: nix --version

View file

@ -92,7 +92,7 @@ inputs:
description: The tag of `nix-installer` to use (conflicts with `source-revision`, `source-branch`, `source-pr`) description: The tag of `nix-installer` to use (conflicts with `source-revision`, `source-branch`, `source-pr`)
required: false required: false
source-url: source-url:
description: A URL pointing to a `nix-installer.sh` script description: A URL pointing to a `nix-installer` executable
required: false required: false
nix-package-url: nix-package-url:
description: The Nix package URL description: The Nix package URL