Skip to content

Commit

Permalink
chore: Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed Nov 13, 2024
1 parent cd27eff commit fcbe82c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions build/stage-build-android-mobile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
6 changes: 3 additions & 3 deletions build/stage-build-mobile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions build/templates/dotnet-install-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') ))
2 changes: 1 addition & 1 deletion build/templates/dotnet-install-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') ))
2 changes: 1 addition & 1 deletion build/templates/dotnet-install-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'))

0 comments on commit fcbe82c

Please sign in to comment.