A Git command run from a GitHub workflow returns a different (wrong) result than what it returns when run locally (correctly)
Advertisements After a process of trial and error, I managed to write this command that should run inside a Git repository to get the last modification date according to the last commit in the directories lib/, images/, and web/: export LAST_UPDATE=`git ls-tree -r –name-only HEAD lib/ images/ web/ | while read filename; do echo "$(git… Read More A Git command run from a GitHub workflow returns a different (wrong) result than what it returns when run locally (correctly)