chore: revert workflow troubleshooting
This commit is contained in:
@@ -63,13 +63,6 @@ jobs:
|
||||
run: dotnet restore src
|
||||
- name: Build on ${{ matrix.os }}
|
||||
run: dotnet build --no-restore src
|
||||
- name: Diagnose downloaded model files
|
||||
run: |
|
||||
echo "=== Model file sizes ==="
|
||||
dir src/BGR.Console\Resources\Files\*.onnx 2>/dev/null || ls -la src/BGR.Console/Resources/Files/*.onnx 2>/dev/null || echo "No model files found"
|
||||
echo ""
|
||||
echo "=== File types ==="
|
||||
file src/BGR.Console/Resources/Files/*.onnx 2>/dev/null || echo "file command not available"
|
||||
- name: Test on ${{ matrix.os }}
|
||||
run: dotnet test src --no-build --verbosity normal
|
||||
- name: Rename test coverage report
|
||||
|
||||
@@ -21,11 +21,11 @@
|
||||
|
||||
<MakeDir Directories="$(DownloadDirectory)" Condition="!Exists('$(DownloadDirectory)')" />
|
||||
|
||||
<Exec Condition="!Exists('$(DownloadDirectory)/rmbg.onnx')" Command="curl -L -v "https://share.stevanfreeborn.com/bgr/rmbg.onnx" -o "$(DownloadDirectory)/rmbg.onnx"" />
|
||||
<Exec Condition="!Exists('$(DownloadDirectory)/rmbg.onnx')" Command="curl -L "https://share.stevanfreeborn.com/bgr/rmbg.onnx" -o "$(DownloadDirectory)/rmbg.onnx"" />
|
||||
|
||||
<Exec Condition="!Exists('$(DownloadDirectory)/u2net.onnx')" Command="curl -L -v "https://share.stevanfreeborn.com/bgr/u2net.onnx" -o "$(DownloadDirectory)/u2net.onnx"" />
|
||||
<Exec Condition="!Exists('$(DownloadDirectory)/u2net.onnx')" Command="curl -L "https://share.stevanfreeborn.com/bgr/u2net.onnx" -o "$(DownloadDirectory)/u2net.onnx"" />
|
||||
|
||||
<Exec Condition="!Exists('$(DownloadDirectory)/modnet.onnx')" Command="curl -L -v "https://share.stevanfreeborn.com/bgr/modnet.onnx" -o "$(DownloadDirectory)/modnet.onnx"" />
|
||||
<Exec Condition="!Exists('$(DownloadDirectory)/modnet.onnx')" Command="curl -L "https://share.stevanfreeborn.com/bgr/modnet.onnx" -o "$(DownloadDirectory)/modnet.onnx"" />
|
||||
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Resources\Files\**\*" />
|
||||
|
||||
Reference in New Issue
Block a user