From 4b4609754c2a48d1e8f85d95fbc0d99429254466 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Thu, 15 May 2025 12:06:12 -0400 Subject: [PATCH] ...turn on determinate. --- action.yml | 3 ++- tools/generate.py | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index cdec776..4e042ed 100644 --- a/action.yml +++ b/action.yml @@ -123,7 +123,8 @@ "diagnostic-endpoint": "${{ inputs.diagnostic-endpoint }}", "log-directives": "${{ inputs.log-directives }}", "logger": "${{ inputs.logger }}", - "_internal-strict-mode": "${{ inputs._internal-strict-mode }}" + "_internal-strict-mode": "${{ inputs._internal-strict-mode }}", + "determinate": true } } ] diff --git a/tools/generate.py b/tools/generate.py index 311d25e..884f587 100644 --- a/tools/generate.py +++ b/tools/generate.py @@ -163,6 +163,9 @@ for input_name in keep_inputs: except KeyError: faults.append(f"Input action is missing this 'keep_inputs' input: {input_name}") +# Turn on Determinate Nix +nix_install_step["with"]["determinate"] = True + result["runs"]["steps"].append(nix_install_step) # Delete inputs we specifically do not want to support without a specific and known use case