in aws/hhvm1/lambdas/activities.py [0:0]
def task_env(self):
task_env = {}
if self.is_test_build:
task_env['SKIP_PUBLISH'] = '1'
# Right now we can only correctly trigger a build for a single platform or
# for all platforms, but the Azure pipeline will skip any platforms that are
# already built, so at worst this wastes a few CPU cycles.
platforms = self.platforms_to_build()
if len(platforms) == 1:
task_env['PLATFORM'] = common.Config.macos_versions[next(iter(platforms))]
return task_env