-
Notifications
You must be signed in to change notification settings - Fork 66
36 lines (34 loc) · 957 Bytes
/
build.yaml
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: Build documentation and pack
on:
workflow_dispatch:
push:
branches: [ main, developing ]
pull_request:
branches: [ main, developing ]
release:
types: [published]
jobs:
pack:
name: Generate pack
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Fetch tags
if: ${{ github.event_name == 'release' }}
run: |
git fetch --tags --force
- uses: Open-CMSIS-Pack/gen-pack-action@main
with:
doxygen-version: 1.9.2
packchk-version: 1.3.96
gen-doc-script: ./documentation/gen_doc.sh
check-links-script: |
./documentation/check_links.sh \
./documentation/html/index.html \
./documentation
doc-path: ./documentation/html
gen-pack-script: ./gen_pack.sh
gen-pack-output: ./output
gh-pages-branch: gh-pages