Skip to content

[bug] Fails when repository/working directory was deleted #782

@fabianegli

Description

@fabianegli

What happened?

If a previous step removes the root directory of the git repository this action fail, even if the file for archival is available.

Error: An error occurred trying to start process '/home/runner/actions-runner/cached/externals/node24/bin/node' with working directory '/home/runner/work/[user]/[repo]'. No such file or directory

What did you expect to happen?

I expect the action to upload an artifact if the contents are present. I do not expect the presence or absence of any other files on the home directory to change the behavior of this action.

How can we reproduce it?

Action:
job:
Step 1: remove repo
Step 2: create a ~/file
Step 3: ulpad-artifact with target ~/file

Anything else we need to know?

No response

What version of the action are you using?

v6

What are your runner environments?

linux

Are you on GitHub Enterprise Server? If so, what version?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions