Refactor Unified Release Build - Make injecting the nuget.config a template - Make setting the version variable a template - Add parameters to templates where needed - Run defender scan before uploading linux packages (and rename step to plain english)
12 lines
636 B
YAML
12 lines
636 B
YAML
parameters:
|
|
architecture: x86
|
|
version: 6.2.0
|
|
|
|
steps:
|
|
- powershell: |
|
|
Expand-Archive -Path "$(System.ArtifactsDirectory)\results\PowerShell-${{ parameters.version }}-symbols-win-${{ parameters.architecture }}.zip" -Destination "$(Build.StagingDirectory)\symbols\${{ parameters.architecture }}"
|
|
displayName: Expand symbols zip - ${{ parameters.architecture }}
|
|
|
|
- powershell: |
|
|
tools/releaseBuild/createComplianceFolder.ps1 -ArtifactFolder "$(Build.StagingDirectory)\symbols\${{ parameters.architecture }}" -VSTSVariableName 'CompliancePath'
|
|
displayName: Expand Compliance file - ${{ parameters.architecture }}
|