Update release.yml

adding in .net6 sdk and moving stuff sooner
This commit is contained in:
Clint Rutkas
2022-01-24 16:43:43 -08:00
committed by GitHub
parent 8b167aee29
commit 737d3f19f3

View File

@@ -53,33 +53,16 @@ jobs:
scriptName: .pipelines/versionSetting.ps1 scriptName: .pipelines/versionSetting.ps1
arguments: -versionNumber '${{ parameters.versionNumber }}' -DevEnvironment '' arguments: -versionNumber '${{ parameters.versionNumber }}' -DevEnvironment ''
- task: MicrosoftTDBuild.tdbuild-task.tdbuild-task.TouchdownBuildTask@1 - task: UseDotNet@2
displayName: 'Download Localization Files -- PowerToys 37400' displayName: 'Use .NET 6 SDK'
inputs: inputs:
teamId: 37400 packageType: sdk
authId: '$(TouchdownApplicationID)' version: '6.x'
authKey: '$(TouchdownApplicationKey)'
resourceFilePath: |
**\Resources.resx
**\Resource.resx
**\Resources.resw
appendRelativeDir: true
localizationTarget: false
pseudoSetting: Included
- task: PowerShell@2
displayName: Move Loc files into correct locations
inputs:
targetType: inline
script: >-
$VerbosePreference = "Continue"
./tools/build/move-and-rename-resx.ps1
./tools/build/move-uwp-resw.ps1
pwsh: true
- task: NuGetAuthenticate@0 - task: NuGetAuthenticate@0
inputs: inputs:
nuGetServiceConnections: PowerToysCDPxFeed nuGetServiceConnections: PowerToysCDPxFeed
- task: NuGetToolInstaller@1 - task: NuGetToolInstaller@1
displayName: Use NuGet 5.10 displayName: Use NuGet 5.10
inputs: inputs:
@@ -98,6 +81,32 @@ jobs:
selectOrConfig: config selectOrConfig: config
nugetConfigPath: .pipelines/release-nuget.config nugetConfigPath: .pipelines/release-nuget.config
- task: MicrosoftTDBuild.tdbuild-task.tdbuild-task.TouchdownBuildTask@1
displayName: 'Download Localization Files -- PowerToys 37400'
inputs:
teamId: 37400
authId: '$(TouchdownApplicationID)'
authKey: '$(TouchdownApplicationKey)'
resourceFilePath: |
**\Resources.resx
**\Resource.resx
**\Resources.resw
appendRelativeDir: true
localizationTarget: false
pseudoSetting: Included
- task: PowerShell@2
displayName: Move Loc files into correct locations
inputs:
targetType: inline
script: >-
$VerbosePreference = "Continue"
./tools/build/move-and-rename-resx.ps1
./tools/build/move-uwp-resw.ps1
pwsh: true
- task: CmdLine@2 - task: CmdLine@2
displayName: Moving telem files displayName: Moving telem files
inputs: inputs: