File tree Expand file tree Collapse file tree
AIDevGallery/Samples/Definitions/Models Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 : |
Original file line number Diff line number Diff line change 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\u2011 up portrait images in real time." ,
300300 "HardwareAccelerator" : [
301301 " CPU" ,
You can’t perform that action at this time.
0 commit comments