Skip to content

Commit 7aa4541

Browse files
authored
Merge branch 'main' into milly/idisp
2 parents cc0c5e9 + e0ca206 commit 7aa4541

2 files changed

Lines changed: 15 additions & 2 deletions

File tree

.github/workflows/test-report.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,22 @@ jobs:
8888
if (-not [string]::IsNullOrWhiteSpace("${{ secrets.LAF_PUBLISHER_ID }}")) {
8989
echo "LAF_PUBLISHER_ID=${{ secrets.LAF_PUBLISHER_ID }}" >> $env:GITHUB_ENV
9090
}
91+
- name: Create ephemeral nuget config from template
92+
shell: pwsh
93+
run: |
94+
$templatePath = "${{ github.workspace }}\nuget.config.template"
95+
$configPath = "$env:RUNNER_TEMP\nuget.config"
96+
97+
if (-not (Test-Path $templatePath)) {
98+
Write-Error "Template file not found: $templatePath"
99+
exit 1
100+
}
101+
102+
Copy-Item -Path $templatePath -Destination $configPath -Force
103+
echo "EPHEMERAL_NUGET_CONFIG=$configPath" >> $env:GITHUB_ENV
91104
- name: Restore dependencies
92105
if: github.event_name != 'workflow_run'
93-
run: dotnet restore AIDevGallery.sln -r win-${{ matrix.dotnet-arch }} /p:Configuration=${{ matrix.dotnet-configuration }} /p:Platform=${{ matrix.dotnet-arch }} /p:PublishReadyToRun=true /p:SelfContainedIfPreviewWASDK=true
106+
run: dotnet restore AIDevGallery.sln -r win-${{ matrix.dotnet-arch }} /p:Configuration=${{ matrix.dotnet-configuration }} /p:Platform=${{ matrix.dotnet-arch }} /p:PublishReadyToRun=true /p:SelfContainedIfPreviewWASDK=true --configfile "${{ env.EPHEMERAL_NUGET_CONFIG }}"
94107
- name: Build
95108
if: github.event_name != 'workflow_run'
96109
run: |

AIDevGallery/Samples/Definitions/Models/imagemodels.modelgroup.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@
295295
"SINet": {
296296
"Id": "b7cae321-478f-1177-9559-709df5dfe703",
297297
"Name": "SINet",
298-
"Url": "https://huggingface.co/qualcomm/SINet/blob/main/SINet.onnx",
298+
"Url": "https://huggingface.co/qualcomm/SINet/resolve/v0.32.0/SINet.onnx",
299299
"Description": "SINet is a machine learning model that is designed to segment people from close\u2011up portrait images in real time.",
300300
"HardwareAccelerator": [
301301
"CPU",

0 commit comments

Comments
 (0)