ci: Cleanup (#1014)
This commit is contained in:
Родитель
9a1f929a55
Коммит
e2917105f9
|
@ -29,6 +29,7 @@ jobs:
|
|||
- template: templates/dotnet-workload-install-windows.yml
|
||||
- template: templates/canary-updater.yml
|
||||
- template: templates/gitversion.yml
|
||||
- template: templates/set-app-versions.yml
|
||||
|
||||
- task: DownloadSecureFile@1
|
||||
name: keyStore
|
||||
|
@ -46,7 +47,7 @@ jobs:
|
|||
- script: |
|
||||
cd $(build.sourcesdirectory)/samples/$(ProjectName)/$(ProjectName).Mobile
|
||||
echo "BUILD_SOURCEBRANCH: $BUILD_SOURCEBRANCH"
|
||||
dotnet build -f net7.0-android -c Release "/p:InformationalVersion=%GITVERSION_InformationalVersion%" /bl:$(build.artifactstagingdirectory)/build-$(ArtifactName).binlog
|
||||
dotnet build -f net7.0-android -c Release "/p:InformationalVersion=%GITVERSION_InformationalVersion%" /bl:$(build.artifactstagingdirectory)/build-$(ArtifactName).binlog
|
||||
displayName: Build project for Release - (net7.0-android)
|
||||
condition: eq(variables['System.PullRequest.IsFork'],'True')
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
jobs:
|
||||
- job: iOS
|
||||
|
||||
timeoutInMinutes: 90
|
||||
timeoutInMinutes: 90
|
||||
|
||||
strategy:
|
||||
maxParallel: 2
|
||||
|
@ -20,7 +20,7 @@ jobs:
|
|||
CI_Build: true
|
||||
pool:
|
||||
vmImage: 'macOS-12'
|
||||
|
||||
|
||||
variables:
|
||||
- group: unoplatform.apple.ios.appstore.distribution
|
||||
|
||||
|
@ -32,7 +32,7 @@ jobs:
|
|||
certPwd: '$(appleappstorecertificatepassword)'
|
||||
keychain: temp
|
||||
deleteCert: true
|
||||
|
||||
|
||||
- task: InstallAppleProvisioningProfile@1
|
||||
displayName: 'Install Apple Provisioning Profile (UWP)'
|
||||
condition: eq(variables['IsCanaryBranch'], false)
|
||||
|
@ -64,6 +64,7 @@ jobs:
|
|||
- template: templates/dotnet-workload-install-mac.yml
|
||||
- template: templates/canary-updater.yml
|
||||
- template: templates/gitversion.yml
|
||||
- template: templates/set-app-versions.yml
|
||||
|
||||
- bash: |
|
||||
cd $(build.sourcesdirectory)/samples/$(ProjectName)/$(ProjectName).Mobile
|
||||
|
@ -96,4 +97,4 @@ jobs:
|
|||
retryCountOnTaskFailure: 3
|
||||
condition: always()
|
||||
inputs:
|
||||
ArtifactName: $(ArtifactName)
|
||||
ArtifactName: $(ArtifactName)
|
||||
|
|
|
@ -8,10 +8,6 @@ jobs:
|
|||
- template: templates/gitversion.yml
|
||||
- template: templates/dotnet-workload-install-windows.yml
|
||||
|
||||
# This SDK version is needed as long as `uap10.0` will be supported in Uno.Core
|
||||
- powershell: .\build\Install-WindowsSdkISO.ps1 19041
|
||||
displayName: Install Windows SDK 19041
|
||||
|
||||
- task: MSBuild@1
|
||||
displayName: 'Build Packages'
|
||||
inputs:
|
||||
|
@ -22,10 +18,6 @@ jobs:
|
|||
maximumCpuCount: true
|
||||
msbuildArguments: /m /v:m /r /p:GeneratePackageOnBuild=true /p:UseDotNetNativeToolchain=false /p:AotAssemblies=false "/p:PackageVersion=$(GitVersion.FullSemVer)" "/p:InformationalVersion=$(GitVersion.InformationalVersion)" /detailedsummary /bl:$(build.artifactstagingdirectory)/toolkit-build-packages.binlog
|
||||
|
||||
- task: DotNetCoreInstaller@0
|
||||
inputs:
|
||||
version: '2.1.504'
|
||||
|
||||
- task: PowerShell@2
|
||||
displayName: Authenticode Sign Packages
|
||||
inputs:
|
||||
|
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
inputs:
|
||||
versionSpec: '18.x'
|
||||
|
||||
- bash: npm install -g cspell
|
||||
- bash: npm install -g cspell@8.3.2
|
||||
displayName: Install cSpell
|
||||
|
||||
- bash: cspell --config $(Build.SourcesDirectory)/build/workflow/cspell.json "**/*.md" "**/toc.yml" --no-progress
|
||||
|
@ -35,7 +35,7 @@ jobs:
|
|||
inputs:
|
||||
versionSpec: '18.x'
|
||||
|
||||
- bash: npm install -g markdownlint-cli
|
||||
- bash: npm install -g markdownlint-cli@0.38.0
|
||||
displayName: Install markdownlint-cli
|
||||
|
||||
- bash: markdownlint -c $(Build.SourcesDirectory)/build/workflow/.markdownlint.json "**/*.md"
|
||||
|
|
|
@ -1,20 +1,7 @@
|
|||
|
||||
steps:
|
||||
- task: UseDotNet@2
|
||||
displayName: 'Use .Net Core runtime 5.0.3'
|
||||
inputs:
|
||||
packageType: runtime
|
||||
version: 5.0.3
|
||||
|
||||
# Restore nuget.org to the list of existing sources, .NET 6 Pre 2 may somehow remove it
|
||||
- powershell: |
|
||||
dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org | Out-Null
|
||||
$global:LASTEXITCODE = 0
|
||||
displayName: Adjust nuget.org source
|
||||
|
||||
- task: gitversion/setup@0
|
||||
inputs:
|
||||
versionSpec: '5.6.6'
|
||||
versionSpec: '5.10.3'
|
||||
|
||||
- task: gitversion/execute@0
|
||||
inputs:
|
||||
|
@ -22,5 +9,3 @@ steps:
|
|||
useConfigFile: true
|
||||
configFilePath: gitversion.yml
|
||||
displayName: Use GitVersion
|
||||
|
||||
- template: set-app-versions.yml
|
Загрузка…
Ссылка в новой задаче