This repository was archived by the owner on Jul 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed
Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,25 @@ steps:
2828 connection : ' react-native-windows'
2929 userRepository : ' react-native-windows/CalculatorPackage'
3030 defaultVersionType : ' latest'
31- # downloadPath: '$(System.ArtifactsDirectory)'
31+ downloadPath : ' $(System.ArtifactsDirectory)'
3232
3333- task : ExtractFiles@1
3434 inputs :
35- archiveFilePatterns : ' *.zip'
35+ archiveFilePatterns : ' $(System.ArtifactsDirectory)/ *.zip'
3636 destinationFolder : ' TestApp'
37- cleanDestinationFolder : true
37+ cleanDestinationFolder : true
38+
39+ - task : PowerShell@1
40+ displayName : ' Install Calculator Cert'
41+ inputs :
42+ scriptType : inlineScript
43+ arguments : ' -NonInteractive -Verb RunAs'
44+ inlineScript : |
45+ $file = ( Get-ChildItem -Path TestApp\Calculator_$(PackageManifest)_Test\Calculator_$(PackageManifest)_x64.cer )
46+ $file | Import-Certificate -CertStoreLocation cert:\LocalMachine\Root
47+
48+ - task : PowerShell@1
49+ displayName : ' Install Calculator Packages'
50+ inputs :
51+ scriptName : ' TestApp\Calculator_$(PackageManifest)_Test\Add-AppDevPackage.ps1'
52+ arguments : ' -NonInteractive -Force:$true -Verb RunAs'
You can’t perform that action at this time.
0 commit comments