fix build.yml double reading issue