Skip to content

Action 2.0: now with preserve block position fixed!

Compare
Choose a tag to compare
@gagoar gagoar released this 15 Jan 20:25
· 10 commits to master since this release
f4ae6ee

Per @bmaximuml, Current logic adds --preserve-block-position to a list of args if the length of the value provided to the preserve-block-position GitHub actions variable is not zero. Since it defaults to the string false, this effectively defaults it to true. You can only disable it by setting it explicitly to an empty string. This PR corrects this logic by only enabling preserve-block-position if it's explicitly set to true.

BREAKING CHANGE: Effectively change the default value for preserve-block-position in GitHub actions

Thanks to @gustavkj for his review and support!