mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
Run GitHub action sw less often
It is no longer run on push or pull requests. The scheduled runs are reduced from daily to every 3rd day. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
d2f311bf7c
commit
e3ac3fce2d
18
.github/workflows/sw.yml
vendored
18
.github/workflows/sw.yml
vendored
@ -1,23 +1,9 @@
|
||||
name: sw
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '**.cpp'
|
||||
- '**.h'
|
||||
- '**/sw.yml'
|
||||
- 'unittest/**.c'
|
||||
- 'unittest/**.cc'
|
||||
pull_request:
|
||||
paths:
|
||||
- '**.cpp'
|
||||
- '**.h'
|
||||
- '**/sw.yml'
|
||||
- 'unittest/**.c'
|
||||
- 'unittest/**.cc'
|
||||
schedule:
|
||||
# every day
|
||||
- cron: 0 0 * * *
|
||||
# every 3rd day
|
||||
- cron: 0 0 */3 * *
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
Loading…
Reference in New Issue
Block a user