aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2020-10-21 20:07:49 +0200
committerJay Berkenbilt <ejb@ql.org>2020-10-21 20:20:11 +0200
commit35014727f78f5c494a745ee3b6f3192ed0457ba6 (patch)
tree5feb3ee3fc5f668aba0af74a29dcd13ce9c82349 /.github
parentdeeface146800bfe8b91986ccd98464cac833236 (diff)
downloadqpdf-35014727f78f5c494a745ee3b6f3192ed0457ba6.tar.zst
Build on a schedule and use latest versions of runners
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 441e5b23..ed963ef1 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -13,6 +13,12 @@ on:
- 'README*'
- 'TODO'
pull_request:
+ schedule:
+ # Building regularly with cron makes it safe for us to use
+ # *-latest with runs-on. If a new version of tools or agents comes
+ # out, we'll find out fast if our builds break on it because we
+ # have reliable testing.
+ - cron: '12 4 * * 5'
jobs:
Distfiles:
# Generate distfiles.zip, which is a prerequisite for the mac and
@@ -41,7 +47,7 @@ jobs:
name: distribution
path: distribution
Windows:
- runs-on: windows-2019
+ runs-on: windows-latest
needs: Distfiles
strategy:
fail-fast: false
@@ -67,7 +73,7 @@ jobs:
name: distribution
path: distribution
macOS:
- runs-on: macos-10.15
+ runs-on: macos-latest
needs: Distfiles
steps:
- uses: actions/checkout@v2