Explorar el Código

[CI] fix NEKOPATH

Andy Li hace 5 años
padre
commit
fe20a1a6f4
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      other/azure-pipelines/build-windows.yml

+ 2 - 1
other/azure-pipelines/build-windows.yml

@@ -41,7 +41,8 @@ jobs:
       - powershell: |
           Set-Service wuauserv -StartupType Manual
           choco install --no-progress neko -y
-          Write-Host "##vso[task.setvariable variable=NEKOPATH]C:/ProgramData/chocolatey/lib/neko"
+          $nekoPath = (Get-ChildItem C:/ProgramData/chocolatey/lib/neko/*/neko.dll -Recurse).Directory
+          Write-Host "##vso[task.setvariable variable=NEKOPATH]$nekoPath"
         displayName: 'Install Neko'
       - template: install-haxe-snapshot.yml
         parameters: