Skip to content

Expand ~ tilde in input paths #159

@fynnsu

Description

@fynnsu

As discussed in astral-sh/uv#9326 currently

- name: Install uv
  uses: astral-sh/setup-uv@v3
  with:
    cache-local-path: ~/.uv_cache

does not expand the ~ to /home/username and instead results in a '~' folder being created in the working directory.

Instead it would be nice if the ~ was expanded for this path as well as the other path inputs tool-dir and tool-bin-dir.

There is precedent for this in other github actions:

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