mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 20:50:25 +08:00
Merge pull request #21904 from asenyaev:asen/fix_fork_url
This commit is contained in:
commit
64da959619
5
.github/workflows/PR-3.4-U20.yaml
vendored
5
.github/workflows/PR-3.4-U20.yaml
vendored
@ -10,6 +10,7 @@ env:
|
||||
OPENCV_TEST_DATA_PATH: '/opencv_extra/testdata'
|
||||
OPENCV_DOCKER_WORKDIR: '/__w/opencv/opencv'
|
||||
PR_AUTHOR: ${{ github.event.pull_request.user.login }}
|
||||
PR_AUTHOR_FORK: ${{ github.event.pull_request.head.repo.full_name }}
|
||||
SOURCE_BRANCH_NAME: ${{ github.head_ref }}
|
||||
TARGET_BRANCH_NAME: ${{ github.base_ref }}
|
||||
ANT_HOME: '/usr/share/ant'
|
||||
@ -43,7 +44,7 @@ jobs:
|
||||
git config --global --add safe.directory ${{ env.OPENCV_DOCKER_WORKDIR }}
|
||||
git config user.email "opencv.ci"
|
||||
git config user.name "opencv.ci"
|
||||
git pull -v "https://github.com/${{ env.PR_AUTHOR }}/opencv" "${{ env.SOURCE_BRANCH_NAME }}"
|
||||
git pull -v "https://github.com/${{ env.PR_AUTHOR_FORK }}" "${{ env.SOURCE_BRANCH_NAME }}"
|
||||
- name: Clone opencv_extra
|
||||
run: git clone --single-branch --branch ${{ env.TARGET_BRANCH_NAME }} --depth 1 https://github.com/opencv/opencv_extra.git /opencv_extra
|
||||
- name: Configure OpenCV
|
||||
@ -154,7 +155,7 @@ jobs:
|
||||
git config --global --add safe.directory ${{ env.OPENCV_DOCKER_WORKDIR }}
|
||||
git config user.email "opencv.ci"
|
||||
git config user.name "opencv.ci"
|
||||
git pull -v "https://github.com/${{ env.PR_AUTHOR }}/opencv" "${{ env.SOURCE_BRANCH_NAME }}"
|
||||
git pull -v "https://github.com/${{ env.PR_AUTHOR_FORK }}" "${{ env.SOURCE_BRANCH_NAME }}"
|
||||
- name: Clone opencv_contrib
|
||||
run: git clone --single-branch --branch ${{ env.TARGET_BRANCH_NAME }} --depth 1 https://github.com/opencv/opencv_contrib.git /opencv_contrib
|
||||
- name: Configure OpenCV Contrib
|
||||
|
Loading…
Reference in New Issue
Block a user