diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml deleted file mode 100644 index fce725f..0000000 --- a/.github/workflows/build-documentation.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Build documentation -on: [push, workflow_dispatch] -jobs: - build_pdf: - runs-on: ubuntu-latest - steps: - - name: Set up Git repository - uses: actions/checkout@v4 - - name: Install fonts - run: | - sudo apt update - sudo apt-get install fonts-font-awesome fonts-roboto texlive-fonts-recommended texlive-fonts-extra - - name: Typst - uses: yusancky/setup-typst@v2 - id: setup-typst - with: - version: 'v0.11.0' - - run: typst compile modern-cv-docs.typ - - name: Upload PDF file - uses: actions/upload-artifact@v3 - with: - name: modern-cv-docs - path: modern-cv-docs.pdf diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 640d279..9ff6e23 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,6 +21,11 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Install fonts + run: | + sudo apt update + sudo apt-get install fonts-font-awesome fonts-roboto texlive-fonts-recommended texlive-fonts-extra + - name: Probe runner package cache uses: awalsh128/cache-apt-pkgs-action@v1 with: @@ -65,4 +70,10 @@ jobs: - name: Build docs if: ${{ matrix.doc }} - run: just doc \ No newline at end of file + run: just doc + + - name: Upload docs + uses: actions/upload-artifact@v4 + with: + name: manual + path: docs/manual.pdf