Skip to content

Merge branch 'ARM-software:main' into main #7

Merge branch 'ARM-software:main' into main

Merge branch 'ARM-software:main' into main #7

Workflow file for this run

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