github-action: rebuild only if it's required

No match.