-
Notifications
You must be signed in to change notification settings - Fork 468
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies from https://github.com/dotnet/arcade build 20241…
…222.1 Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.XliffTasks From Version 10.0.0-beta.24504.4 -> To Version 10.0.0-beta.24622.1
- Loading branch information
1 parent
5ed3367
commit cd90299
Showing
15 changed files
with
313 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
parameters: | ||
# Enable cleanup tasks for MicroBuild | ||
enableMicrobuild: false | ||
# Enable cleanup tasks for MicroBuild on Mac and Linux | ||
# Will be ignored if 'enableMicrobuild' is false or 'Agent.Os' is 'Windows_NT' | ||
enableMicrobuildForMacAndLinux: false | ||
continueOnError: false | ||
|
||
steps: | ||
- ${{ if eq(parameters.enableMicrobuild, 'true') }}: | ||
- task: MicroBuildCleanup@1 | ||
displayName: Execute Microbuild cleanup tasks | ||
condition: and( | ||
always(), | ||
or( | ||
and( | ||
eq(variables['Agent.Os'], 'Windows_NT'), | ||
in(variables['_SignType'], 'real', 'test') | ||
), | ||
and( | ||
${{ eq(parameters.enableMicrobuildForMacAndLinux, true) }}, | ||
ne(variables['Agent.Os'], 'Windows_NT'), | ||
eq(variables['_SignType'], 'real') | ||
) | ||
)) | ||
continueOnError: ${{ parameters.continueOnError }} | ||
env: | ||
TeamName: $(_TeamName) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
parameters: | ||
# Enable install tasks for MicroBuild | ||
enableMicrobuild: false | ||
# Enable install tasks for MicroBuild on Mac and Linux | ||
# Will be ignored if 'enableMicrobuild' is false or 'Agent.Os' is 'Windows_NT' | ||
enableMicrobuildForMacAndLinux: false | ||
# Location of the MicroBuild output folder | ||
microBuildOutputFolder: '$(Agent.TempDirectory)' | ||
continueOnError: false | ||
|
||
steps: | ||
- ${{ if eq(parameters.enableMicrobuild, 'true') }}: | ||
- ${{ if eq(parameters.enableMicrobuildForMacAndLinux, 'true') }}: | ||
# Install Python 3.12.x on when Python > 3.12.x is installed - https://github.com/dotnet/source-build/issues/4802 | ||
- script: | | ||
version=$(python3 --version | awk '{print $2}') | ||
major=$(echo $version | cut -d. -f1) | ||
minor=$(echo $version | cut -d. -f2) | ||
installPython=false | ||
if [ "$major" -gt 3 ] || { [ "$major" -eq 3 ] && [ "$minor" -gt 12 ]; }; then | ||
installPython=true | ||
fi | ||
echo "Python version: $version." | ||
echo "Install Python 3.12.x: $installPython." | ||
echo "##vso[task.setvariable variable=installPython;isOutput=true]$installPython" | ||
name: InstallPython | ||
displayName: 'Determine Python installation' | ||
condition: and(succeeded(), ne(variables['Agent.Os'], 'Windows_NT')) | ||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: '3.12.x' | ||
displayName: 'Use Python 3.12.x' | ||
condition: and(succeeded(), eq(variables['InstallPython.installPython'], 'true'), ne(variables['Agent.Os'], 'Windows_NT')) | ||
|
||
# Needed to download the MicroBuild plugin nupkgs on Mac and Linux when nuget.exe is unavailable | ||
- task: UseDotNet@2 | ||
displayName: Install .NET 8.0 SDK for MicroBuild Plugin | ||
inputs: | ||
packageType: sdk | ||
version: 8.0.x | ||
installationPath: ${{ parameters.microBuildOutputFolder }}/dotnet | ||
workingDirectory: ${{ parameters.microBuildOutputFolder }} | ||
condition: and(succeeded(), ne(variables['Agent.Os'], 'Windows_NT')) | ||
|
||
- task: MicroBuildSigningPlugin@4 | ||
displayName: Install MicroBuild plugin | ||
inputs: | ||
signType: $(_SignType) | ||
zipSources: false | ||
feedSource: https://dnceng.pkgs.visualstudio.com/_packaging/MicroBuildToolset/nuget/v3/index.json | ||
${{ if and(eq(parameters.enableMicrobuildForMacAndLinux, 'true'), ne(variables['Agent.Os'], 'Windows_NT')) }}: | ||
azureSubscription: 'MicroBuild Signing Task (DevDiv)' | ||
env: | ||
TeamName: $(_TeamName) | ||
MicroBuildOutputFolderOverride: ${{ parameters.microBuildOutputFolder }} | ||
SYSTEM_ACCESSTOKEN: $(System.AccessToken) | ||
continueOnError: ${{ parameters.continueOnError }} | ||
condition: and( | ||
succeeded(), | ||
or( | ||
and( | ||
eq(variables['Agent.Os'], 'Windows_NT'), | ||
in(variables['_SignType'], 'real', 'test') | ||
), | ||
and( | ||
${{ eq(parameters.enableMicrobuildForMacAndLinux, true) }}, | ||
ne(variables['Agent.Os'], 'Windows_NT'), | ||
eq(variables['_SignType'], 'real') | ||
) | ||
)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.