File tree Expand file tree Collapse file tree 5 files changed +11
-7
lines changed Expand file tree Collapse file tree 5 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments