mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-28 20:11:22 +00:00
tried to add signing + list all the files
This commit is contained in:
parent
4638045a6c
commit
38ee230e17
1 changed files with 16 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ stages:
|
|||
targetType: 'inline'
|
||||
script: |
|
||||
dotnet nuget add source $(Build.SourcesDirectory)\nuget-artifact --name local-nuget
|
||||
dotnet publish -c Release --property:UsePrebuiltNativePackage=true --property:CurrentOnnxRuntimeVersion=$(NuGetPackageVersionNumber) -f net8.0-android
|
||||
dotnet publish -c Release --property:UsePrebuiltNativePackage=true --property:CurrentOnnxRuntimeVersion=$(NuGetPackageVersionNumber) -f net8.0-android -p:AndroidKeyStore true -p:AndroidSigningKeyAlias androiddebugkey -p:AndroidSigningKeyPass android -p:AndroidSigningKeyStore debug.keystore -p:AndroidSigningStorePass android
|
||||
workingDirectory: '$(Build.SourcesDirectory)\csharp\test\Microsoft.ML.OnnxRuntime.Tests.MAUI'
|
||||
|
||||
- task: PowerShell@2
|
||||
|
|
@ -93,6 +93,21 @@ stages:
|
|||
}
|
||||
displayName: 'Search for AAB files recursively'
|
||||
|
||||
- task: PowerShell@2
|
||||
inputs:
|
||||
targetType: 'inline'
|
||||
script: |
|
||||
$folderPath = "$(Build.SourcesDirectory)\csharp\test\Microsoft.ML.OnnxRuntime.Tests.MAUI\bin\Release\net8.0-android\publish"
|
||||
Write-Host "Listing all files in $folderPath"
|
||||
$files = Get-ChildItem -Path $folderPath -Recurse | Where-Object { -not $_.PSIsContainer }
|
||||
if ($files) {
|
||||
Write-Host "Found files:"
|
||||
$files | ForEach-Object { Write-Host $_.FullName }
|
||||
} else {
|
||||
Write-Host "No files found."
|
||||
}
|
||||
displayName: 'List all files in directory'
|
||||
|
||||
- task: CopyFiles@2
|
||||
displayName: 'Copy apk to staging directory'
|
||||
inputs:
|
||||
|
|
|
|||
Loading…
Reference in a new issue