chore: restrict apt script to Linux

This commit is contained in:
Raymond Zhao 2024-02-27 11:27:32 -08:00
parent 21007360ca
commit a4564a1f1f
No known key found for this signature in database
GPG Key ID: 4DA8A81F5F7FCF93
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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