-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: make the sed expression work for non-GNU sed #65
Conversation
From memory we don't use |
Thanks for your reply. Last week I submitted a patch makes The reasonThe reason is that Github Actions uses BSD sed by default, which uses a different BRE syntax from GNU sed. Check this commit 6c2416e and its action run 4734069256, According to the manual of GNU sed,
Instead, macos uses
Possible solutionsWe have two choices:
See this commit 83448d7 and its action run 4734486470
According to this manpage, macos has supported ERE since 2005. See this commit ef8ec79 and its action run 4734836943 ConclusionBoth solutions are ok. I prefer ERE. So I send this PR. |
I would prefer a solution without |
That makes sense. Let's go with |
Use ERE instead, because GitHub Actions doesn't use GNU sed on macOS by default.
923ef09
to
5571578
Compare
@jthegedus A new commit has been pushed into this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Use ERE instead, because GitHub Actions doesn't use GNU sed on macOS by default.