11# #
2- # # Copyright (c) 2023-2025 The Johns Hopkins University Applied Physics
2+ # # Copyright (c) 2023-2026 The Johns Hopkins University Applied Physics
33# # Laboratory LLC.
44# #
55# # This file is part of the Asynchronous Network Management System (ANMS).
@@ -37,23 +37,38 @@ jobs:
3737 contents : read
3838 steps :
3939 - name : Checkout repository
40- uses : actions/checkout@v4
40+ uses : actions/checkout@v6
4141 with :
4242 fetch-depth : 0
4343 submodules : recursive
4444 - name : Set up OS
4545 run : |
46- sudo rm /var/lib/man-db/auto-update
47- sudo apt-get update && sudo apt-get install -y cmake make coreutils ruby asciidoctor graphviz inkscape dblatex docbook-xsl-ns xsltproc xmlstarlet
48- sudo gem install asciidoctor-diagram
46+ sudo apt-get update
47+ sudo apt-get install -y \
48+ cmake make coreutils \
49+ ruby asciidoctor graphviz plantuml inkscape \
50+ dblatex xmlstarlet aspell
51+ sudo gem install \
52+ asciidoctor-diagram \
53+ 'asciidoctor-diagram-plantuml:~>1.2024.8'
4954 - name : Build
5055 env :
5156 DESTDIR : public
5257 run : ./build.sh
53- - uses : actions/upload-artifact@v4
58+ - name : Misspelling
59+ run : ./build.sh docs-spelling
60+ - uses : actions/upload-artifact@v7
5461 with :
5562 name : docs
5663 path : public
64+ - uses : actions/upload-artifact@v7
65+ with :
66+ archive : false
67+ path : public/product-guide/anms-product-guide.pdf
68+ - uses : actions/upload-artifact@v7
69+ with :
70+ archive : false
71+ path : public/user-guide/anms-user-guide.pdf
5772
5873 deploy :
5974 # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
@@ -73,16 +88,16 @@ jobs:
7388 if : github.ref == 'refs/heads/main'
7489 runs-on : ubuntu-24.04
7590 steps :
76- - uses : actions/download-artifact@v4
91+ - uses : actions/download-artifact@v8
7792 with :
7893 name : docs
7994 path : public
8095 - name : Setup Pages
81- uses : actions/configure-pages@v3
96+ uses : actions/configure-pages@v6
8297 - name : Upload artifact
83- uses : actions/upload-pages-artifact@v3
98+ uses : actions/upload-pages-artifact@v5
8499 with :
85100 path : public
86101 - name : Deploy to GitHub Pages
87102 id : deployment
88- uses : actions/deploy-pages@v4
103+ uses : actions/deploy-pages@v5
0 commit comments