Skip to content

Commit

Permalink
.github/workflows: update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
WolframRhodium committed Feb 6, 2024
1 parent a6c6825 commit 077bcde
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 42 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/linux-ov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-cuda-dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/windows-ncnn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/windows-ort.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/windows-ov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/windows-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Compress scirpts.7z
run: |
cd scripts
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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 077bcde

Please sign in to comment.