Explorar el Código

chore: restrict apt script to Linux

Raymond Zhao hace 1 año
padre
commit
a4564a1f1f
Se han modificado 2 ficheros con 2 adiciones y 0 borrados
  1. 1 0
      .azure-pipelines/publish-nightly.yml
  2. 1 0
      .azure-pipelines/publish-stable.yml

+ 1 - 0
.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

+ 1 - 0
.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