-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (38 loc) · 1.07 KB
/
generate.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
37
38
39
40
41
42
43
44
# Auto-generated by Cimas: Do not edit it manually!
# See https://github.com/metanorma/cimas
name: generate
on:
push:
branches: [ master, main ]
pull_request:
paths-ignore:
- .gitlab-ci.yml
- .github/workflows/test.yml
- .github/workflows/docker.yml
- .github/workflows/docker-pres_xml.yml
workflow_dispatch:
jobs:
test-linux:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.METANORMA_CI_PAT_TOKEN || github.token }}
submodules: true
- uses: actions/cache@v2
with:
path: ~/.cache/xml2rfc
key: xml2rfc
restore-keys: xml2rfc
- uses: actions/cache@v2
with:
path: ~/.fontist
key: fontist-${{ runner.os }}
restore-keys: fontist-${{ runner.os }}
- uses: actions-mn/setup@master
- run: metanorma site generate --agree-to-terms