Only sign when uploadArchives is in TaskGraph