mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 12:49:35 +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
|
name: sw
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
paths:
|
|
||||||
- '**.cpp'
|
|
||||||
- '**.h'
|
|
||||||
- '**/sw.yml'
|
|
||||||
- 'unittest/**.c'
|
|
||||||
- 'unittest/**.cc'
|
|
||||||
pull_request:
|
|
||||||
paths:
|
|
||||||
- '**.cpp'
|
|
||||||
- '**.h'
|
|
||||||
- '**/sw.yml'
|
|
||||||
- 'unittest/**.c'
|
|
||||||
- 'unittest/**.cc'
|
|
||||||
schedule:
|
schedule:
|
||||||
# every day
|
# every 3rd day
|
||||||
- cron: 0 0 * * *
|
- cron: 0 0 */3 * *
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
Loading…
Reference in New Issue
Block a user