diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index f5ffb8a..403d121 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node uses: actions/setup-node@v4 @@ -21,22 +21,22 @@ jobs: - name: Install pandoc run: | - sudo apt-get install -y pandoc texlive-latex-recommended \ + sudo apt-get install -y pandoc texlive-latex-recommended texlive-xetex \ texlive-pictures texlive-latex-extra texlive-fonts-recommended npm i -g mermaid-filter - name: install mermaid-filter and Convert Markdown to PDF run: | - pandoc -F mermaid-filter cool-root-doc.md -o cool-root-doc.pdf - # pip install pandoc-mermaid-filter - # for file in $(find . -name '*.md'); do - # pdf_file="${file%.md}.pdf" - # pandoc --filter=pandoc-mermaid-filter "$file" -o "$pdf_file" --pdf-engine=xelatex - # done + pandoc -F mermaid-filter cool-root-doc.md -o cool-root-doc.pdf --pdf-engine=xelatex + pip install pandoc-mermaid-filter + for file in $(find . -name '*.md'); do + pdf_file="${file%.md}.pdf" + pandoc -F mermaid-filter cool-root-doc.md -o cool-root-doc.pdf + done - name: Upload PDFs as artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: converted-pdfs path: '**/*.pdf' diff --git a/cool-root-doc.md b/cool-root-doc.md index c9f60b5..2000d84 100644 --- a/cool-root-doc.md +++ b/cool-root-doc.md @@ -28,6 +28,7 @@ graph TD ACLManager --> L2Pool end ``` + ## Main sequence diagram ```sequence participant User