Skip to content

"includes" path does not resolve {{.HOME}} variable #670

@piotrkardasz

Description

@piotrkardasz
  • Task version: v3.10.0
  • Operating System: Ubuntu

Example Taskfile showing the issue

version: '3'

includes:
  action:
    taskfile: "{{.HOME}}/common/Taskfile.yml"

I would like to include Taskfile from the home folder but I am getting an error

stat /common/Taskfile.yml: no such file or directory

When I put taskfile: "/home/username/common/Taskfile.yml" it working correctly it looks like a .HOME and variables are not resolved in this case

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: variablesChanges related to variables.state: wontfixThe issue will not be progressed or fixed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions