Skip to content

Commit

Permalink
Update build_and_github_release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
erfansn authored Jul 3, 2024
1 parent de74cee commit 6e97b11
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build_and_github_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,12 @@ jobs:
- name: Download CMake
run: sdkmanager --install "cmake;3.22.1"

- name: Download OpenCV SDK
uses: gamedev-thingy/Download-Extract@done
with:
url: https://github.com/opencv/opencv/releases/download/4.10.0/opencv-4.10.0-android-sdk.zip
destination: .\opencv-sdk
ZIPname: opencv-4.10.0-android-sdk.zip

- name: Download and extract OpenCV SDK
run: |
curl https://github.com/opencv/opencv/releases/download/4.10.0/opencv-4.10.0-android-sdk.zip -o "$GITHUB_WORKSPACE\opencv-sdk"
sudo apt-get install unzip
unzip opencv-4.10.0-android-sdk.zip -d opencv-sdk
- name: Config OpenCV SDK
run: echo "$GITHUB_WORKSPACE\opencv-sdk" > "opencv.properties"

Expand Down

0 comments on commit 6e97b11

Please sign in to comment.