ghactions icon indicating copy to clipboard operation
ghactions copied to clipboard

clarify whether new ghactions GITHUB_WORKSPACE is empty

Open maxheld83 opened this issue 6 years ago • 0 comments

To support:

Hi octocats,

This is about the new, YML-based GitHub actions.

As per the new docs, I understand that I always need to run a checkout action to use my repo content.

Also in the docs, there's still this part:

The GitHub workspace directory path. The workspace directory contains a subdirectory with a copy of your repository. For example, /github/workspace.

I think this might be in error, perhaps copy/pasted from the old HCL-based GitHub actions.

If I understand correctly, the new GitHub actions always creates GITHUB_WORKSPACE, maps it, but leaves it empty by default.

Right?

Also tracked here:

  • https://github.community/t5/How-to-use-Git-and-GitHub/Github-Actions-workspace-is-empty/m-p/29122#M8167

Best, Max

maxheld83 avatar Aug 13 '19 12:08 maxheld83