File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed
Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,20 @@ steps:
3131 ${{ else }} :
3232 targetPath : $(Pipeline.Workspace)\${{ a.artifact }}
3333
34- - ${{ if parameters.SigningCertificate }} :
35- - powershell : |
36- copy $(Py_OutDir)\amd64\Activate.ps1 Lib\venv\scripts\common\Activate.ps1 -Force
37- displayName: 'Copy signed files into sources'
34+ # Assuming we'll always run the amd64 build
35+ - ${{ if and(parameters.SigningCertificate, eq(a.artifact, 'bin_amd64')) }} :
36+ - powershell : >
37+ copy
38+ "${env:TARGET_PATH}\Activate.ps1"
39+ "$(Build.SourcesDirectory)\Lib\venv\scripts\common\Activate.ps1
40+ -Force
41+ -Verbose
42+ displayName: 'Copy signed files into sources'
43+ env:
44+ ${{ if a.target }}:
45+ TARGET_PATH: ${{ a.target }}
46+ ${{ else }}:
47+ TARGET_PATH: $(Pipeline.Workspace)\${{ a.artifact }}
3848
3949 - script : |
4050 call PCbuild\find_python.bat "%PYTHON%"
You can’t perform that action at this time.
0 commit comments