[build] adapt publish-nightly to get the out folder from the LOGChange-Id: I53542ebbc4b788a137eb0062618599573c013aac