From 444e1667de7f900b30d51180823338befe64baad Mon Sep 17 00:00:00 2001 From: WolframRhodium Date: Thu, 18 Apr 2024 20:47:49 +0800 Subject: [PATCH] .github/workflows/windows-ort.yml: separate uploading of plugin and runtime libraries --- .github/workflows/windows-ort.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/windows-ort.yml b/.github/workflows/windows-ort.yml index 67218a9..dfcbb47 100644 --- a/.github/workflows/windows-ort.yml +++ b/.github/workflows/windows-ort.yml @@ -153,17 +153,18 @@ jobs: run: | cmake --install build --prefix install mkdir artifact - mkdir artifact\vsort + mkdir libraries + mkdir libraries\vsort copy install\bin\vsort.dll artifact\ - copy onnxruntime-gpu\bin\*.dll artifact\vsort\ - copy onnxruntime-gpu\lib\*.dll artifact\vsort\ + copy onnxruntime-gpu\bin\*.dll libraries\vsort\ + copy onnxruntime-gpu\lib\*.dll libraries\vsort\ - name: Download DirectML Library # follows DirectML in https://github.com/AmusementClub/onnxruntime/blob/master/cmake/external/dml.cmake#L44 run: | curl -s -o directml.nupkg -LJO https://www.nuget.org/api/v2/package/Microsoft.AI.DirectML/1.13.1 unzip -q directml.nupkg -d dml - copy dml\bin\x64-win\DirectML.dll artifact\vsort\ + copy dml\bin\x64-win\DirectML.dll libraries\vsort\ - name: Upload uses: actions/upload-artifact@v4 @@ -171,6 +172,12 @@ jobs: name: VSORT-Windows-x64 path: vsort/artifact + - name: Upload runtime + uses: actions/upload-artifact@v4 + with: + name: VSORT-Windows-x64 + path: vsort/libraries + - name: Setup Python portable run: | curl -s -o python.zip -LJO https://www.python.org/ftp/python/3.9.10/python-3.9.10-embed-amd64.zip @@ -185,7 +192,7 @@ jobs: run: | copy artifact\*.dll vs_portable\vapoursynth64\plugins mkdir vs_portable\vapoursynth64\plugins\vsort\ - copy artifact\vsort\*.dll vs_portable\vapoursynth64\plugins\vsort\ + copy libraries\vsort\*.dll vs_portable\vapoursynth64\plugins\vsort\ - name: Install waifu2x model run: |