Each step runs in a fresh container from the builder image, so the default /root/.pub-cache doesn't survive from `flutter pub get` into the codegen/build steps. Point PUB_CACHE at a workspace-local path instead, which is shared across steps.