浏览代码

[CI] actually check SAUCE_ACCESS_KEY

Andy Li 5 年之前
父节点
当前提交
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)