Github actions, gradle. pretty=format flag for git log is not working #26397
-
Hi! And no it’s not a problem fetch-depth, it is set to 0, history is correct.
it works as well. It only doesn’t work with the Gradle task inside Github action. Example run: There are plenty of it because I was trying everything to check where the problem is. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
To be even more precise. This command inside the Gradle task does work:
and it doesn’t:
EDIT: I assume that Linux runnable works differently with escape characters. It probably ends up with error when I put " or % signs inside a command. |
Beta Was this translation helpful? Give feedback.
To be even more precise. This command inside the Gradle task does work:
and it doesn’t:
EDIT:
After changing my runner from Linux to windows it started to work (locally I use windows).
I assume that Linux runnable works differently with escape characters. It probably ends up with error when I put " or % signs inside a command.