actions / actions/runner

Support for custom or shorter base workdir paths

Open
#1,676 33 comments 49 reactions 1 assignee View on GitHub

@fhammerl is already working on this.

Since Jan 18, 2023.

enhancement Runner Feature
Dominant language
C#
Stars
6.3k
Forks
1.4k
Avg merge
1d 16h
Merged PRs (30d)
24

Description

Currently, the base working directory for actions exists within a sub folder of the installation directory and duplicates the repository twice. This can be an issue for repos with longer names along with certain tools (Python VENV, MSBuild).

There is a workflow yaml option to set the base working directory, but this is not very portable and the path can be runner specific.

A few things could help with this issue:

  1. Instead of using the pattern <install_dir>/_work/<repo_name>/<repo_name>/ use the path <install_dir>/_work/<guid_or_short_unique_string/
  2. Add a setting or environment variable to change the base path of <install_dir>/_work/ to a different path on disk.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.