Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e65f21f

Browse filesBrowse files
authored
Adapted rolling releases to workflow_dispatch event (opencv#708)
1 parent 60630d1 commit e65f21f
Copy full SHA for e65f21f

File tree

Expand file treeCollapse file tree

5 files changed

+11
-7
lines changed
Filter options
Expand file treeCollapse file tree

5 files changed

+11
-7
lines changed

‎.github/workflows/build_wheels_linux.yml

Copy file name to clipboardExpand all lines: .github/workflows/build_wheels_linux.yml
+4-3Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ jobs:
5757
run: |
5858
if [[ "${{ github.event.pull_request }}" == "true" ]]; then
5959
echo "BUILD_COMMIT=${{ github.base_ref }}" >> $GITHUB_ENV
60-
elif [[ "${{ github.event_name }}" == "schedule" ]]; then
60+
fi
61+
if [[ "${{ github.event_name }}" == "schedule" || "${{ github.event_name }}" == "workflow_dispatch" ]]; then
6162
echo "ENABLE_ROLLING=1" >> $GITHUB_ENV
6263
fi
6364
- name: Checkout
@@ -149,7 +150,6 @@ jobs:
149150
SDIST: ${{ matrix.build_sdist || 0 }}
150151
ENABLE_HEADLESS: ${{ matrix.without_gui || 0 }}
151152
ENABLE_CONTRIB: ${{ matrix.with_contrib || 0 }}
152-
ENABLE_ROLLING: 1
153153
steps:
154154
- name: Cleanup
155155
run: find . -mindepth 1 -delete
@@ -158,7 +158,8 @@ jobs:
158158
run: |
159159
if [[ "${{ github.event.pull_request }}" == "true" ]]; then
160160
echo "BUILD_COMMIT=${{ github.base_ref }}" >> $GITHUB_ENV
161-
elif [[ "${{ github.event_name }}" == "schedule" ]]; then
161+
fi
162+
if [[ "${{ github.event_name }}" == "schedule" || "${{ github.event_name }}" == "workflow_dispatch" ]]; then
162163
echo "ENABLE_ROLLING=1" >> $GITHUB_ENV
163164
fi
164165
- name: Checkout

‎.github/workflows/build_wheels_linux_arm.yml

Copy file name to clipboardExpand all lines: .github/workflows/build_wheels_linux_arm.yml
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ jobs:
5757
run: |
5858
if [[ "${{ github.event.pull_request }}" == "true" ]]; then
5959
echo "BUILD_COMMIT=${{ github.base_ref }}" >> $GITHUB_ENV
60-
elif [[ "${{ github.event_name }}" == "schedule" ]]; then
60+
fi
61+
if [[ "${{ github.event_name }}" == "schedule" || "${{ github.event_name }}" == "workflow_dispatch" ]]; then
6162
echo "ENABLE_ROLLING=1" >> $GITHUB_ENV
6263
fi
6364
- name: Checkout

‎.github/workflows/build_wheels_macos.yml

Copy file name to clipboardExpand all lines: .github/workflows/build_wheels_macos.yml
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ jobs:
5959
run: |
6060
if [[ "${{ github.event.pull_request }}" == "true" ]]; then
6161
echo "BUILD_COMMIT=${{ github.base_ref }}" >> $GITHUB_ENV
62-
elif [[ "${{ github.event_name }}" == "schedule" ]]; then
62+
fi
63+
if [[ "${{ github.event_name }}" == "schedule" || "${{ github.event_name }}" == "workflow_dispatch" ]]; then
6364
echo "ENABLE_ROLLING=1" >> $GITHUB_ENV
6465
fi
6566
- name: Checkout

‎.github/workflows/build_wheels_macos_m1.yml

Copy file name to clipboardExpand all lines: .github/workflows/build_wheels_macos_m1.yml
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ jobs:
4343
run: |
4444
if [[ "${{ github.event.pull_request }}" == "true" ]]; then
4545
echo "BUILD_COMMIT=${{ github.base_ref }}" >> $GITHUB_ENV
46-
elif [[ "${{ github.event_name }}" == "schedule" ]]; then
46+
fi
47+
if [[ "${{ github.event_name }}" == "schedule" || "${{ github.event_name }}" == "workflow_dispatch" ]]; then
4748
echo "ENABLE_ROLLING=1" >> $GITHUB_ENV
4849
fi
4950
- name: Checkout

‎.github/workflows/build_wheels_windows.yml

Copy file name to clipboardExpand all lines: .github/workflows/build_wheels_windows.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Setup environment
4545
shell: bash
4646
run: |
47-
if [[ "${{ github.event_name }}" == "schedule" ]]; then
47+
if [[ "${{ github.event_name }}" == "schedule" || "${{ github.event_name }}" == "workflow_dispatch" ]]; then
4848
echo "ENABLE_ROLLING=1" >> $GITHUB_ENV
4949
fi
5050
- name: Checkout

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.