Skip to content

Bug in Actions: the same file is executable on MacOS and Linux but is not on Windows #26371

Answered by DanySK
DanySK asked this question in Actions
Discussion options

You must be logged in to vote

I figured it out just after posting it (talking with a text area helps, apparently). I had forgotten a ! in the shebang line of the script.

Apparently, under windows whether something is executable or not is determined by the existence of a correct shebang line.

So if you need to mark something as executable on GitHub Actions do not forget to #! your script correctly 😄

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant