Previously, when echoing the definition of BUILD_DATE to $GITHUB_OUTPUT, that doesn't make it available as an environment variable. (And if it would be echoed to $GITHUB_ENV, it still wouldn't take effect until the next step within the same job either.) Therefore, this previously set BUILD_DATE to $(date -d "" +%s), which seems to produce a timestamp corresponding to the start of the current day.