Fix(actions): Correct sed and wget in macOS generator #129
Reference in New Issue
Block a user
Delete Branch "fix-macos-generator-action"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
generator-macos.ymlworkflow was failing on macOS runners due to two main issues:The
sedcommands were using the GNU/Linux-i -esyntax, which is not compatible with the BSDsedfound on macOS. This has been corrected to use thesed -i '' -esyntax.The workflow was fetching patches using hardcoded
wgetURLs pointing to the original repository. This has been changed to use dynamic GitHub context variables (${{ github.repository }}and${{ github.ref_name }}) to ensure the workflow uses the patches from the forked repository it is running in.These changes should resolve the workflow failures and make it more robust for use in forks.
Pull request closed