diff --git a/.github/workflows/linux-ov.yml b/.github/workflows/linux-ov.yml index 00d01a7..e154789 100644 --- a/.github/workflows/linux-ov.yml +++ b/.github/workflows/linux-ov.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -26,13 +26,13 @@ jobs: - name: Cache protobuf id: cache-protobuf - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: vsov/protobuf/install key: ${{ runner.os }}-vsov-protobuf-v1 - name: Checkout protobuf - uses: actions/checkout@v3 + uses: actions/checkout@v4 if: steps.cache-protobuf.outputs.cache-hit != 'true' with: repository: protocolbuffers/protobuf @@ -59,14 +59,14 @@ jobs: - name: Cache onnx id: cache-onnx - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: vsov/onnx/install key: ${{ runner.os }}-vsov-onnx-v1 - name: Checkout onnx if: steps.cache-onnx.outputs.cache-hit != 'true' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: onnx/onnx # follows onnx in https://github.com/openvinotoolkit/openvino/tree/2023.2.0/thirdparty/onnx @@ -134,7 +134,7 @@ jobs: run: git describe --tags --long - name: Upload - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: VSOV-Linux-x64 path: vsov/artifact diff --git a/.github/workflows/windows-cuda-dependency.yml b/.github/workflows/windows-cuda-dependency.yml index 6d880ec..78bfd72 100644 --- a/.github/workflows/windows-cuda-dependency.yml +++ b/.github/workflows/windows-cuda-dependency.yml @@ -109,7 +109,7 @@ jobs: 7z a -t7z -mx=3 vsmlrt-cuda.7z vsmlrt-cuda - name: Upload - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: vsmlrt-cuda path: vsmlrt-cuda.7z diff --git a/.github/workflows/windows-ncnn.yml b/.github/workflows/windows-ncnn.yml index 74c93c9..31a425b 100644 --- a/.github/workflows/windows-ncnn.yml +++ b/.github/workflows/windows-ncnn.yml @@ -39,7 +39,7 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -48,13 +48,13 @@ jobs: - name: Cache protobuf id: cache-protobuf - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: vsncnn/protobuf/install key: ${{ runner.os }}-vsncnn-protobuf-v3.16.0 - name: Checkout protobuf - uses: actions/checkout@v3 + uses: actions/checkout@v4 if: steps.cache-protobuf.outputs.cache-hit != 'true' with: repository: protocolbuffers/protobuf @@ -81,14 +81,14 @@ jobs: - name: Cache onnx id: cache-onnx - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: vsncnn/onnx/install key: ${{ runner.os }}-vsncnn-onnx-v1.12.0-protobuf-v3.16.0 - name: Checkout onnx if: steps.cache-onnx.outputs.cache-hit != 'true' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: onnx/onnx ref: v1.12.0 @@ -161,7 +161,7 @@ jobs: copy install\bin\vsncnn.dll artifact\ - name: Upload - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: VSNCNN-GPU-Windows-x64 path: vsncnn/artifact diff --git a/.github/workflows/windows-ort.yml b/.github/workflows/windows-ort.yml index c36c3f5..85029fe 100644 --- a/.github/workflows/windows-ort.yml +++ b/.github/workflows/windows-ort.yml @@ -29,7 +29,7 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -41,13 +41,13 @@ jobs: - name: Cache protobuf id: cache-protobuf - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: vsort/protobuf/install key: ${{ runner.os }}-vsort-protobuf-v4 - name: Checkout protobuf - uses: actions/checkout@v3 + uses: actions/checkout@v4 if: steps.cache-protobuf.outputs.cache-hit != 'true' with: repository: protocolbuffers/protobuf @@ -73,14 +73,14 @@ jobs: - name: Cache onnx id: cache-onnx - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: vsort/onnx/install key: ${{ runner.os }}-vsort-onnx-v4 - name: Checkout onnx if: steps.cache-onnx.outputs.cache-hit != 'true' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: onnx/onnx # follows onnx in https://github.com/AmusementClub/onnxruntime/tree/master/cmake/external @@ -121,7 +121,7 @@ jobs: - name: Cache CUDA id: cache-cuda - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA key: ${{ runner.os }}-cuda-12.1.1 @@ -166,7 +166,7 @@ jobs: copy dml\bin\x64-win\DirectML.dll artifact\vsort\ - name: Upload - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: VSORT-Windows-x64 path: vsort/artifact diff --git a/.github/workflows/windows-ov.yml b/.github/workflows/windows-ov.yml index 3dfae3d..af40490 100644 --- a/.github/workflows/windows-ov.yml +++ b/.github/workflows/windows-ov.yml @@ -39,7 +39,7 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -51,13 +51,13 @@ jobs: - name: Cache protobuf id: cache-protobuf - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: vsov/protobuf/install key: ${{ runner.os }}-vsov-protobuf-v1 - name: Checkout protobuf - uses: actions/checkout@v3 + uses: actions/checkout@v4 if: steps.cache-protobuf.outputs.cache-hit != 'true' with: repository: protocolbuffers/protobuf @@ -83,14 +83,14 @@ jobs: - name: Cache onnx id: cache-onnx - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: vsov/onnx/install key: ${{ runner.os }}-vsov-onnx-v2 - name: Checkout onnx if: steps.cache-onnx.outputs.cache-hit != 'true' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: onnx/onnx # follows onnx in https://github.com/AmusementClub/openvino/tree/master/thirdparty/onnx @@ -161,7 +161,7 @@ jobs: xcopy openvino\runtime\bin\intel64\Release\* artifact\vsov\ /s - name: Upload - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: VSOV-Windows-x64 path: vsov/artifact diff --git a/.github/workflows/windows-release.yml b/.github/workflows/windows-release.yml index a36bbb9..801d604 100644 --- a/.github/workflows/windows-release.yml +++ b/.github/workflows/windows-release.yml @@ -66,7 +66,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Compress scirpts.7z run: | @@ -74,7 +74,7 @@ jobs: 7za a -t7z -bb3 -mx=9 ../scripts.${{ github.event.inputs.tag }}.7z . - name: Upload scripts release - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Scripts path: scripts @@ -116,7 +116,7 @@ jobs: 7za a -t7z -bb3 -mx=9 ../models.7z . - name: Upload model release - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Models path: release @@ -147,7 +147,7 @@ jobs: 7za a -t7z -bb3 -mx=9 ../ext-models.7z . - name: Upload external model release - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: External-Models path: release @@ -178,7 +178,7 @@ jobs: 7za a -t7z -bb3 -mx=9 ../contrib-models.7z . - name: Upload contrib model release - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Contrib-Models path: release @@ -212,43 +212,43 @@ jobs: steps: - name: Download artifact for scripts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: Scripts path: scripts-release - name: Download artifact for models - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: Models path: models-release - name: Download artifact for vsov - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: VSOV-Windows-x64 path: vsov-release - name: Download artifact for vsort - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: VSORT-Windows-x64 path: vsort-release - name: Download artifact for vstrt - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: VSTRT-Windows-x64 path: vstrt-release - name: Download artifact for vsncnn - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: VSNCNN-GPU-Windows-x64 path: vsncnn-release - name: Download artifact for cuda dependencies - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vsmlrt-cuda path: cuda-release @@ -267,7 +267,7 @@ jobs: 7za a -t7z -bb3 -mx=9 ../vsmlrt-windows-x64-cpu.7z . - name: Upload CPU-only release - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: false with: name: vsmlrt-cpu-release @@ -301,7 +301,7 @@ jobs: 7za a -t7z -bb3 -mx=9 ../vsmlrt-windows-x64-generic-gpu.7z . - name: Upload generic GPU release - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: false with: name: vsmlrt-generic-gpu-release @@ -342,7 +342,7 @@ jobs: 7za a -t7z -bb3 -mx=9 ../vsmlrt-windows-x64-cuda.7z . - name: Upload CUDA release - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: false with: name: vsmlrt-cuda-release @@ -364,7 +364,7 @@ jobs: # Update nightly tag. - name: Checkout repo if: github.event.inputs.tag == 'nightly' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Overwrite tag