Просмотр исходного кода

[CI] actually check SAUCE_ACCESS_KEY

Andy Li 5 лет назад
Родитель
Сommit
03f7b4e019
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      azure-pipelines.yml

+ 2 - 2
azure-pipelines.yml

@@ -105,11 +105,11 @@ stages:
             condition: and(succeeded(), variables['APT_PACKAGES'])
             displayName: Install apt packages
           - script: haxe RunCi.hxml
-            condition: and(succeeded(), not(and(variables['SAUCE'], variables['SAUCE_USERNAME'])))
+            condition: and(succeeded(), not(and(variables['SAUCE'], variables['SAUCE_ACCESS_KEY'])))
             workingDirectory: $(Build.SourcesDirectory)/tests
             displayName: Test
           - script: haxe RunCi.hxml
-            condition: and(succeeded(), variables['SAUCE'], variables['SAUCE_USERNAME'])
+            condition: and(succeeded(), variables['SAUCE'], variables['SAUCE_ACCESS_KEY'])
             workingDirectory: $(Build.SourcesDirectory)/tests
             env:
               SAUCE_ACCESS_KEY: $(SAUCE_ACCESS_KEY)