1 name: Release Documentation
7 name: Build release documentation
10 - uses: actions/checkout@v2
11 - uses: actions/setup-node@v1
12 - name: Install Doxygen 1.8.6
14 wget http://archive.ubuntu.com/ubuntu/pool/main/d/doxygen/doxygen_1.8.6-2_amd64.deb
15 sudo dpkg -i doxygen_1.8.6-2_amd64.deb
16 - name: Install mscgen 0.20
19 sudo apt-get install --no-install-recommends -y mscgen=0.20-12
20 - name: Generate doxygen
21 run: CMSIS/DoxyGen/gen_doc.sh
22 - name: Archive documentation
24 cd CMSIS/Documentation
25 tar -cvjf /tmp/doc.tbz2 .
26 - uses: actions/checkout@v2
29 - name: Publish documentation
31 RELEASE=$(echo $GITHUB_REF | sed 's/refs\/tags\///')
34 ln -s ${RELEASE} latest
36 tar -xvjf /tmp/doc.tbz2
37 git config user.name github-actions
38 git config user.email github-actions@github.com
40 git commit -m "Update documentation for release ${RELEASE}"