From 5a7fff9aa5fb77228a6241086b951bb29686300e Mon Sep 17 00:00:00 2001 From: Jerome Laban Date: Thu, 7 Nov 2024 08:07:09 -0500 Subject: [PATCH] chore: Fix typo --- build/stage-build-android-mobile.yml | 4 ++-- build/stage-build-mobile.yml | 6 +++--- build/templates/dotnet-install-linux.yml | 4 ++-- build/templates/dotnet-install-mac.yml | 2 +- build/templates/dotnet-install-windows.yml | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/build/stage-build-android-mobile.yml b/build/stage-build-android-mobile.yml index 2324f03bb..d29b8a149 100644 --- a/build/stage-build-android-mobile.yml +++ b/build/stage-build-android-mobile.yml @@ -17,13 +17,13 @@ steps: cd $(build.sourcesdirectory)/Uno.Gallery dotnet publish -f:net9.0-android -p:TargetFrameworkOverride=net9.0-android -c:Release "/p:InformationalVersion=$(GitVersion.InformationalVersion)" /p:AndroidSigningKeyStore=$(keyStore.secureFilePath) /p:AndroidSigningStorePass=$(AndroidSigningStorePass) /p:AndroidSigningKeyPass=$(AndroidSigningKeyPass) /p:AndroidSigningKeyAlias=$(AndroidSigningKeyAlias) /p:AndroidKeyStore=true /bl:$(build.artifactstagingdirectory)/build-$(BuildForPlayStore).binlog displayName: 'Build Android Package' - condition: and(suceeded(), eq(variables['System.PullRequest.IsFork'],'False')) + condition: and(succeeded(), eq(variables['System.PullRequest.IsFork'],'False')) - script: | cd $(build.sourcesdirectory)/Uno.Gallery dotnet publish -f:net9.0-android -p:TargetFrameworkOverride=net9.0-android -c:Release "/p:InformationalVersion=$(GitVersion.InformationalVersion)" /p:AndroidKeyStore=False /bl:$(build.artifactstagingdirectory)/build-$(BuildForPlayStore).binlog displayName: 'Build Android Package (Fork)' - condition: and(suceeded(), eq(variables['System.PullRequest.IsFork'],'True')) + condition: and(succeeded(), eq(variables['System.PullRequest.IsFork'],'True')) - task: CopyFiles@2 displayName: 'Publish Android netcore Binaries' diff --git a/build/stage-build-mobile.yml b/build/stage-build-mobile.yml index 419a34a0f..071974a01 100644 --- a/build/stage-build-mobile.yml +++ b/build/stage-build-mobile.yml @@ -16,7 +16,7 @@ steps: secureFile: nventive.jks - task: UseDotNet@2 - condition: and(suceeded(), eq(variables['IsCanaryBranch'], true)) + condition: and(succeeded(), eq(variables['IsCanaryBranch'], true)) retryCountOnTaskFailure: 3 inputs: packageType: runtime @@ -29,14 +29,14 @@ steps: echo "BUILD_SOURCEBRANCH: $BUILD_SOURCEBRANCH" dotnet $(BuildCommand) -v:n -f $(BuildTargetFramework) -p:TargetFrameworkOverride=$(BuildTargetFramework) -c Release /p:ArchiveOnBuild=true /bl:$(build.artifactstagingdirectory)/build-$(BuildTargetFramework).binlog "/p:InformationalVersion=$(GitVersion.InformationalVersion)" displayName: Build project for Release - $(BuildTargetFramework) - condition: and(suceeded(), eq(variables['System.PullRequest.IsFork'],'False')) + condition: and(succeeded(), eq(variables['System.PullRequest.IsFork'],'False')) - bash: | cd $(build.sourcesdirectory)/Uno.Gallery echo "BUILD_SOURCEBRANCH: $BUILD_SOURCEBRANCH" dotnet build -f $(BuildTargetFramework) -p:TargetFrameworkOverride=$(BuildTargetFramework) -c Release /bl:$(build.artifactstagingdirectory)/build-$(BuildTargetFramework).binlog "/p:InformationalVersion=$(GitVersion.InformationalVersion)" displayName: Build project for Release - $(BuildTargetFramework) - condition: and(suceeded(), eq(variables['System.PullRequest.IsFork'],'True')) + condition: and(succeeded(), eq(variables['System.PullRequest.IsFork'],'True')) - task: CopyFiles@2 displayName: 'Publish Binaries' diff --git a/build/templates/dotnet-install-linux.yml b/build/templates/dotnet-install-linux.yml index 54e9c81be..b19a08a65 100644 --- a/build/templates/dotnet-install-linux.yml +++ b/build/templates/dotnet-install-linux.yml @@ -24,10 +24,10 @@ steps: sudo update-java-alternatives --set msopenjdk-11-amd64 displayName: Install OpenJDK 11 retryCountOnTaskFailure: 3 - condition: and(suceeded(), eq('${{ parameters.installJava }}', 'true')) + condition: and(succeeded(), eq('${{ parameters.installJava }}', 'true')) - bash: | dotnet tool update --global uno.check --version ${{ parameters.UnoCheck_Version }} --add-source https://api.nuget.org/v3/index.json uno-check --verbose --ci --non-interactive --fix --skip gtk3 --skip androidsdk --pre-major ${{ parameters.UnoCheckParameters }} displayName: Install .NET Workloads - condition: and(suceeded(), and( eq(variables['Agent.OS'], 'Linux'), eq('${{ parameters.installWorkloads }}', 'true') )) + condition: and(succeeded(), and( eq(variables['Agent.OS'], 'Linux'), eq('${{ parameters.installWorkloads }}', 'true') )) diff --git a/build/templates/dotnet-install-mac.yml b/build/templates/dotnet-install-mac.yml index eea34d76a..a68673044 100644 --- a/build/templates/dotnet-install-mac.yml +++ b/build/templates/dotnet-install-mac.yml @@ -31,4 +31,4 @@ steps: dotnet tool update --global uno.check --version ${{ parameters.UnoCheck_Version }} --add-source https://api.nuget.org/v3/index.json uno-check --ci --non-interactive --fix --skip gtk3 --skip xcode --skip vswin --skip androidemulator --skip vsmac --pre-major ${{ parameters.UnoCheckParameters }} displayName: Install .NET Workloads - condition: and(suceeded(), and( eq(variables['Agent.OS'], 'Darwin'), eq('${{ parameters.installWorkloads }}', 'true') )) + condition: and(succeeded(), and( eq(variables['Agent.OS'], 'Darwin'), eq('${{ parameters.installWorkloads }}', 'true') )) diff --git a/build/templates/dotnet-install-windows.yml b/build/templates/dotnet-install-windows.yml index 4811ab18f..b85a299f4 100644 --- a/build/templates/dotnet-install-windows.yml +++ b/build/templates/dotnet-install-windows.yml @@ -31,4 +31,4 @@ steps: errorActionPreference: continue ignoreLASTEXITCODE: true retryCountOnTaskFailure: 3 - condition: and(suceeded(), eq(variables['Agent.OS'], 'Windows_NT')) + condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))