更新RTTView文档 #105
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build documentation and pack | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
release: | |
types: [published] | |
jobs: | |
pack: | |
name: Generate pack | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Fetch tags | |
if: ${{ github.event_name == 'release' }} | |
run: | | |
git fetch --tags --force | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '20' | |
- name: Make gen_pack.sh executable | |
run: chmod +x ./gen_pack.sh | |
- name: Generate Pack | |
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 |