File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -68,16 +68,17 @@ extends:
68
68
throw "tsaoptions.json does not exist under $(Build.SourcesDirectory)/OSS_Microsoft_PSSA/.config"
69
69
}
70
70
displayName: Test if tsaoptions.json exists
71
-
72
- # - pwsh: |
73
- # New-Item -ItemType Directory -Path $(Build.SourcesDirectory)/.config -Force -Verbose
74
- # Copy-Item '$(Build.SourcesDirectory)/OSS_Microsoft_PSSA/.config/tsaoptions.json' '$(Build.SourcesDirectory)/.config/tsaoptions.json' -Force -Verbose
75
- # displayName: Copy tsaoptions
71
+ # make sure this happens before signing setup
72
+ env:
73
+ ob_restore_phase: true
76
74
77
75
- pwsh : |
78
76
Set-Location "$(Build.SourcesDirectory)/OSS_Microsoft_PSSA"
79
77
try { ./build.ps1 -Configuration Release -All } catch { throw $_ }
80
78
displayName: Execute build
79
+ # make sure this happens before signing setup
80
+ env:
81
+ ob_restore_phase: true
81
82
82
83
- pwsh : |
83
84
$signSrcPath = "$(Build.SourcesDirectory)/OSS_Microsoft_PSSA/out"
@@ -110,7 +111,7 @@ extends:
110
111
Write-Host "sending $vstsCommandString"
111
112
Write-Host "##$vstsCommandString"
112
113
displayName: Setup variables for signing
113
- # make sure signing is still setup
114
+ # make sure this happens before signing setup
114
115
env:
115
116
ob_restore_phase: true
116
117
You can’t perform that action at this time.
0 commit comments