Skip to content

Docs for "OperatingSystemKind" condition? #1421

@rmunn

Description

@rmunn

In #1042, @mlorbetske gives a sample post-action with "condition": "(OS != \"windows\")" so that it will only run on non-Windows systems. But in SAFE-Stack/SAFE-template#36, it seems that that condition doesn't actually work to exclude a post-action from a Windows machine, causing the template installation to fail. (That particular post-action runs the Unix chmod command, so it will only work on Linux or OS X machines). I've found one reference to a condition called OperatingSystemKind, but I haven't found any documentation for that condition. What values is it expected to have? How should I use it to ensure that a particular post-action only runs on Unix-like systems?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions