]> begriffs open source - cmsis/blob - .github/workflows/pack.yml
Possible bugs in MMU_MemorySection(), MMU_MemoryPage() (#219)
[cmsis] / .github / workflows / pack.yml
1 name: Build documentation and pack
2 on:
3   workflow_dispatch:
4   pull_request:
5   push:
6     branches: [main]
7   release:
8     types: [published]
9
10 concurrency:
11   group: ${{ github.workflow }}-${{ github.ref }}
12   cancel-in-progress: true
13
14 jobs:
15   pack:
16     name: Generate pack
17     runs-on: ubuntu-22.04
18     steps:
19       - uses: actions/checkout@v4
20         with:
21           fetch-depth: 0
22
23       - name: Fetch tags
24         if: github.event_name == 'release'
25         run: |
26           git fetch --tags --force
27
28       - uses: Open-CMSIS-Pack/gen-pack-action@main
29         with:
30           doxygen-version: 1.9.6
31           packchk-version: 1.4.1
32           gen-doc-script: ./CMSIS/Documentation/Doxygen/gen_doc.sh
33           doc-path: ./CMSIS/Documentation/html
34           gen-pack-script: ./gen_pack.sh --no-preprocess
35           gen-pack-output: ./output
36           gh-pages-branch: gh-pages