Skip to content

Commit

Permalink
build: use 7z
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Mar 29, 2024
1 parent f4888d3 commit 97c9c8a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ jobs:
if: steps.cache-opencv-source.outputs.cache-hit != 'true'
shell: bash
run: |
mkdir -p ./opencv
curl https://github.com/opencv/opencv/archive/4.9.0.zip --output ./opencv/opencv-4.9.0.zip
curl https://github.com/opencv/opencv_contrib/archive/4.9.0.zip --output ./opencv/opencv_contrib-4.9.0.zip
mkdir -p opencv
curl https://github.com/opencv/opencv/archive/4.9.0.zip --output opencv/opencv-4.9.0.zip
curl https://github.com/opencv/opencv_contrib/archive/4.9.0.zip --output opencv/opencv_contrib-4.9.0.zip
- name: Extract OpenCV source
if: steps.cache-opencv-source.outputs.cache-hit != 'true'
shell: bash
run: |
7z x .\opencv\opencv-4.9.0.zip -o.\opencv
7z x .\opencv\opencv_contrib-4.9.0.zip -o.\opencv
7z x opencv\opencv-4.9.0.zip -oopencv\*
7z x opencv\opencv_contrib-4.9.0.zip -oopencv\*
- name: Save cached OpenCV source
uses: actions/cache/save@v4
if: steps.cache-opencv-source.outputs.cache-hit != 'true'
Expand Down

0 comments on commit 97c9c8a

Please sign in to comment.