-
Notifications
You must be signed in to change notification settings - Fork 22
46 lines (39 loc) · 1011 Bytes
/
pack.yml
File metadata and controls
46 lines (39 loc) · 1011 Bytes
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
45
name: Build pack
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
release:
types: [published]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pack:
name: Generate pack
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Fetch tags
if: github.event_name == 'release'
run: |
git fetch --tags --force
- name: Setup Python
uses: actions/setup-python@v6
- name: Install MkDocs
run: |
pip install mkdocs
pip install mkdocs-mermaid2-plugin
pip install mkdoxy
- uses: Open-CMSIS-Pack/gen-pack-action@main
with:
doxygen-version: 1.13.2
packchk-version: 1.4.3
gen-pack-script: ./gen_pack.sh
gen-pack-output: ./output
gen-doc-script: ./documentation/gen_doc.sh
doc-path: ./docs