diff options
author | Davide Beatrici <git@davidebeatrici.dev> | 2020-07-17 20:12:40 +0300 |
---|---|---|
committer | Davide Beatrici <git@davidebeatrici.dev> | 2020-07-17 20:12:40 +0300 |
commit | 920bc7528eb76bf6c1d3d39d1a393c01740f868f (patch) | |
tree | c68c5850e0fed38aca4308ef9fc61f84303be1b0 /.azure-pipelines.yml | |
parent | 6a7251951b11389ce1ae6859f4dae1fb9ce6f795 (diff) |
CI(azure-pipelines): use correct path for build output
"Agent.BuildDirectory" refers to the path on the agent where all folders for the pipeline are created.
"Build.BinariesDirectory" is the correct variable to use: it refers to the path that can be used as an output folder for compiled binaries.
Reference: https://docs.microsoft.com/en-us/azure/devops/pipelines/build/variables
Diffstat (limited to '.azure-pipelines.yml')
-rw-r--r-- | .azure-pipelines.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 06b3e037b..e7626cf56 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -23,7 +23,7 @@ jobs: - script: scripts/azure-pipelines/build_windows.bat displayName: 'Build' - powershell: | - cd $(Agent.BuildDirectory) + cd $(Build.BinariesDirectory) .\Create-Win32InstallerMUI.ps1 -PackageName 'Mumble' -Version '1.4.0' cp *.sha* $(Build.ArtifactStagingDirectory) cp *.msi $(Build.ArtifactStagingDirectory) |