forked from ARM-software/CMSIS-View
-
Notifications
You must be signed in to change notification settings - Fork 0
61 lines (57 loc) · 1.5 KB
/
pack.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: Build documentation and pack
on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- '.github/workflows/pack.yml'
- 'ARM.CMSIS-View.pdsc'
- 'gen_pack.sh'
- 'Documentation/**'
- 'Doxygen/**'
- 'EventRecorder/**'
- 'Examples/**'
- 'Fault/**'
- 'Schema/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/pack.yml'
- 'ARM.CMSIS-View.pdsc'
- 'gen_pack.sh'
- 'Documentation/**'
- 'Doxygen/**'
- 'EventRecorder/**'
- 'Examples/**'
- 'Fault/**'
- 'Schema/**'
release:
types: [published]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pack:
if: |
github.event_name != 'release' ||
(github.event_name == 'release' && startsWith(github.ref, 'refs/tags/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.95
gen-doc-script: ./Doxygen/gen_doc.sh
check-links-script: ./Doxygen/check_links.sh
doc-path: ./Documentation/html
gen-pack-script: ./gen_pack.sh --no-preprocess
gen-pack-output: ./output
gh-pages-branch: gh-pages