1name: Build documentation and pack 2on: 3 workflow_dispatch: 4 pull_request: 5 push: 6 branches: [main] 7 release: 8 types: [published] 9 10concurrency: 11 group: ${{ github.workflow }}-${{ github.ref }} 12 cancel-in-progress: true 13 14jobs: 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 run: | 25 git fetch --tags --force 26 27 - uses: Open-CMSIS-Pack/gen-pack-action@main 28 with: 29 doxygen-version: 1.9.6 30 packchk-version: 1.4.1 31 gen-doc-script: ./Documentation/Doxygen/gen_doc.sh 32 doc-path: ./Documentation/html 33 gen-pack-script: ./gen_pack.sh --no-preprocess 34 gen-pack-output: ./output 35 gh-pages-branch: gh-pages 36