From 97c9c8a8bd52bd03a38a79e4bd6fba4e896757e4 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Fri, 29 Mar 2024 11:24:24 +0100 Subject: [PATCH] build: use 7z Signed-off-by: deadprogram --- .github/workflows/windows.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 797a3f90..dc8ed7a4 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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'