diff --git a/.github/workflows/update_opencv.yml b/.github/workflows/update_opencv.yml index 5583c1d..f1be0de 100644 --- a/.github/workflows/update_opencv.yml +++ b/.github/workflows/update_opencv.yml @@ -14,13 +14,12 @@ jobs: steps: - uses: actions/checkout@v4 - - name: download sdk - run: wget https://github.com/opencv/opencv/releases/download/${{ github.event.inputs.version }}/opencv-${{ github.event.inputs.version }}-android-sdk.zip - - - name: Unzip - run: unzip opencv-${{ github.event.inputs.version }}-android-sdk.zip + - name: download and unzip the sdk + run: | + wget https://github.com/opencv/opencv/releases/download/${{ github.event.inputs.version }}/opencv-${{ github.event.inputs.version }}-android-sdk.zip + unzip opencv-${{ github.event.inputs.version }}-android-sdk.zip - - name: copy new files + - name: replace the native folder run: | rm -rd opencv/native mkdir opencv/native