docs icon indicating copy to clipboard operation
docs copied to clipboard

Update Actions `Creating a composite run steps action` for windows users

Open raiden-e opened this issue 4 years ago • 3 comments

What article on docs.github.com is affected?

https://docs.github.com/en/actions/creating-actions/creating-a-composite-run-steps-action#prerequisites

As a windows user, i found it confusing to apply chmod and stumbled over a permission denied error, when I tried to run anyways. For windows users, the solution is to tell git this way:

git update-index --chmod=+x ./goodbye.sh


[maintainer edit]

Content plan

  1. The "Prerequisites" step 4 could be replaced by echo "echo Goodbye" > goodbye.sh

  2. To make the file executable from windows, it looks like the preference is to use git add --chmod=+x -- goodbye.sh. It might be clearer if we create a separate tab for the Windows instructions, similar to approach taken here: https://docs.github.com/en/actions/hosting-your-own-runners/monitoring-and-troubleshooting-self-hosted-runners. See Operating system tags for more information.

For more information, see the comments in the closed PR here - (https://github.com/github/docs/pull/3073#issuecomment-811635797)

raiden-e avatar Jan 22 '21 16:01 raiden-e

Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

welcome[bot] avatar Jan 22 '21 16:01 welcome[bot]

This comment has some additional information for anyone who is interested in opening a PR ✨

ramyaparimi avatar Sep 29 '21 17:09 ramyaparimi

A stale label has been added to this issue becuase it has been open for 60 days with no activity. To keep this issue open, add a comment within 3 days.

github-actions[bot] avatar Feb 04 '22 16:02 github-actions[bot]