forked from sumatrapdfreader/sumatrapdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
daily.yml
36 lines (34 loc) · 1.03 KB
/
daily.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: daily
on:
schedule:
- cron: "0 1 * * *"
repository_dispatch:
types: [build-daily]
workflow_dispatch:
jobs:
build:
name: Build
#runs-on: SumatraBuilder
runs-on: windows-latest
steps:
- name: Check out source code
uses: actions/checkout@v4
with:
# needed to calc build number via git log --oneline
fetch-depth: 0
- name: Build
env:
CERT_PWD: ${{ secrets.CERT_PWD }}
R2_SECRET: ${{ secrets.R2_SECRET }}
R2_ACCESS: ${{ secrets.R2_ACCESS }}
BB_SECRET: ${{ secrets.BB_SECRET }}
BB_ACCESS: ${{ secrets.BB_ACCESS }}
run: .\doit.bat -ci-daily
# a separate step from -ci to make logs easier to read
- name: Upload to spaces and s3
env:
R2_SECRET: ${{ secrets.R2_SECRET }}
R2_ACCESS: ${{ secrets.R2_ACCESS }}
BB_SECRET: ${{ secrets.BB_SECRET }}
BB_ACCESS: ${{ secrets.BB_ACCESS }}
run: .\doit.bat -ci-upload