Browse Source

create developer manual in CI

Signed-off-by: Steffen Jaeckel <[email protected]>
Steffen Jaeckel 3 years ago
parent
commit
06f22b61b5
1 changed files with 14 additions and 0 deletions
  1. 14 0
      .github/workflows/main.yml

+ 14 - 0
.github/workflows/main.yml

@@ -13,6 +13,20 @@ on:
       - /^release\/.*$/
 
 jobs:
+  Docs:
+    runs-on: ubuntu-20.04
+    container: texlive/texlive:latest-medium
+    steps:
+      - uses: actions/checkout@v2
+      - name: generate PDF
+        run: |
+          make docs
+          cp doc/crypt.pdf crypt-${{ github.run_id }}.pdf
+      - name: upload PDF
+        uses: actions/upload-artifact@v3
+        with:
+          name: crypt-${{ github.run_id }}.pdf
+          path: crypt-${{ github.run_id }}.pdf
   Build:
     runs-on: ${{ matrix.os }}
     strategy: