mirror of
https://github.com/GorgonMeducer/perf_counter.git
synced 2025-01-31 19:33:04 +08:00
34 lines
743 B
YAML
34 lines
743 B
YAML
name: Build documentation and pack
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches: [ developing ]
|
|
pull_request:
|
|
branches: [ developing ]
|
|
release:
|
|
types: [published]
|
|
jobs:
|
|
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
|
|
|
|
- name: get submodules
|
|
run: |
|
|
git submodule update --init
|
|
|
|
- uses: Open-CMSIS-Pack/gen-pack-action@main
|
|
with:
|
|
doxygen-version: 1.9.2
|
|
packchk-version: 1.3.96
|
|
gen-pack-script: ./gen_pack.sh
|
|
gen-pack-output: ./output
|