docs
docs copied to clipboard
Update Actions `Creating a composite run steps action` for windows users
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
-
The "Prerequisites" step 4 could be replaced by echo "echo Goodbye" > goodbye.sh
-
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)
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.
This comment has some additional information for anyone who is interested in opening a PR ✨
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.