Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/types/job.nix
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ in rec {
};

env = mkOption {
type = types.nullOr (types.attrsOf types.str);
type = types.nullOr (types.attrsOf (types.either types.str types.bool));
default = null;
description = ''
Environment variables for all steps in the job.
Expand Down
2 changes: 1 addition & 1 deletion modules/types/step.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ in {
};

env = mkOption {
type = types.nullOr (types.attrsOf types.str);
type = types.nullOr (types.attrsOf (types.either types.str types.bool));
default = null;
description = ''
Environment variables for the step.
Expand Down
4 changes: 2 additions & 2 deletions modules/types/workflow.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ in {
};

env = mkOption {
type = types.nullOr (types.attrsOf types.str);
type = types.nullOr (types.attrsOf (types.either types.str types.bool));
default = null;
description = ''
Environment variables for all jobs in the workflow.
Expand Down Expand Up @@ -115,7 +115,7 @@ in {
};

env = mkOption {
type = types.nullOr (types.attrsOf types.str);
type = types.nullOr (types.attrsOf (types.either types.str types.bool));
default = null;
description = "Default environment variables for all jobs.";
example = {
Expand Down