From 397a5c26a70be654709a3a9909c1a2778c322462 Mon Sep 17 00:00:00 2001 From: Luc Perkins Date: Thu, 16 May 2024 20:37:01 -0300 Subject: [PATCH] Update input description and add test workflow --- .github/workflows/ci.yml | 10 ++++++++++ action.yml | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea4947a..109b181 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -211,3 +211,13 @@ jobs: with: duration: 5m 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 diff --git a/action.yml b/action.yml index fb27ca3..b44d1ed 100644 --- a/action.yml +++ b/action.yml @@ -92,7 +92,7 @@ inputs: description: The tag of `nix-installer` to use (conflicts with `source-revision`, `source-branch`, `source-pr`) required: false source-url: - description: A URL pointing to a `nix-installer.sh` script + description: A URL pointing to a `nix-installer` executable required: false nix-package-url: description: The Nix package URL