Skip to content

When filePath is absolute GITHUB_WORKSPACE shouldn't be joined #176

@pfichtner

Description

@pfichtner

When passing '/tmp/foobar.txt' as filePath (filePath: /tmp/foobar.txt) I got the error
Error: ENOENT: no such file or directory, open '/home/runner/work/user/project/tmp/foobar.txt'

_filePath = path.join(GITHUB_WORKSPACE, filePath);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions