From a4564a1f1fc581f1c3023906904d72c2f597d1da Mon Sep 17 00:00:00 2001 From: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> Date: Tue, 27 Feb 2024 11:27:32 -0800 Subject: [PATCH] chore: restrict apt script to Linux --- .azure-pipelines/publish-nightly.yml | 1 + .azure-pipelines/publish-stable.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.azure-pipelines/publish-nightly.yml b/.azure-pipelines/publish-nightly.yml index c8df3f09..e880b36b 100644 --- a/.azure-pipelines/publish-nightly.yml +++ b/.azure-pipelines/publish-nightly.yml @@ -50,6 +50,7 @@ extends: testPlatforms: [] buildSteps: - script: sudo apt install -y libkrb5-dev + condition: eq(variables['Agent.OS'], 'Linux') displayName: Install libkrb5-dev - script: npm ci diff --git a/.azure-pipelines/publish-stable.yml b/.azure-pipelines/publish-stable.yml index 3974b763..86ebcf7f 100644 --- a/.azure-pipelines/publish-stable.yml +++ b/.azure-pipelines/publish-stable.yml @@ -38,6 +38,7 @@ extends: testPlatforms: [] buildSteps: - script: sudo apt install -y libkrb5-dev + condition: eq(variables['Agent.OS'], 'Linux') displayName: Install libkrb5-dev - script: npm ci