Skip to content

Commit d2f5da1

Browse files
authored
Merge pull request #13 from oldrev/master
Update CICD.yml
2 parents 5f8e40a + 0d6d835 commit d2f5da1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/CICD.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ on:
3333
- '*.ini'
3434
- '*.lock'
3535
schedule:
36-
- cron: '0 2 * * *'
36+
- cron: '0 2 * * 1'
3737
workflow_dispatch:
3838

3939
permissions:
@@ -75,6 +75,7 @@ jobs:
7575
name: Build and Test on Windows
7676
needs: fmt-and-check
7777
runs-on: windows-latest
78+
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
7879
strategy:
7980
matrix:
8081
target: [x86_64-pc-windows-msvc, x86_64-pc-windows-gnu]
@@ -230,6 +231,7 @@ jobs:
230231
name: Build and Test on ARM Linux
231232
needs: fmt-and-check
232233
runs-on: ubuntu-latest
234+
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
233235
strategy:
234236
matrix:
235237
target: [ aarch64-unknown-linux-gnu, armv7-unknown-linux-gnueabihf, armv7-unknown-linux-gnueabi]
@@ -434,4 +436,4 @@ jobs:
434436
delete_tags: true
435437
delete_prerelease_only: true
436438
env:
437-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
439+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)