Skip to content

Commit 18232e3

Browse files
committed
move other tasks to restore phase
1 parent 80473e2 commit 18232e3

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.pipelines/OSS_Microsoft_PSSA-Official.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,17 @@ extends:
6868
throw "tsaoptions.json does not exist under $(Build.SourcesDirectory)/OSS_Microsoft_PSSA/.config"
6969
}
7070
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
7674
7775
- pwsh: |
7876
Set-Location "$(Build.SourcesDirectory)/OSS_Microsoft_PSSA"
7977
try { ./build.ps1 -Configuration Release -All } catch { throw $_ }
8078
displayName: Execute build
79+
# make sure this happens before signing setup
80+
env:
81+
ob_restore_phase: true
8182
8283
- pwsh: |
8384
$signSrcPath = "$(Build.SourcesDirectory)/OSS_Microsoft_PSSA/out"
@@ -110,7 +111,7 @@ extends:
110111
Write-Host "sending $vstsCommandString"
111112
Write-Host "##$vstsCommandString"
112113
displayName: Setup variables for signing
113-
# make sure signing is still setup
114+
# make sure this happens before signing setup
114115
env:
115116
ob_restore_phase: true
116117

0 commit comments

Comments
 (0)