From fd9e755c91774918c69243fd800c831f1100901b Mon Sep 17 00:00:00 2001 From: J0bot Date: Thu, 19 Mar 2026 17:25:32 +0100 Subject: [PATCH] division du travail en deux --- .github/workflows/generate-pdf.yml | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/.github/workflows/generate-pdf.yml b/.github/workflows/generate-pdf.yml index b262eec..4b67de3 100644 --- a/.github/workflows/generate-pdf.yml +++ b/.github/workflows/generate-pdf.yml @@ -20,12 +20,11 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Install fonts and git - run: apk add --no-cache font-dejavu git + - name: Install fonts + run: apk add --no-cache font-dejavu - name: Prepare markdown (strip manual TOC) run: | - # Remove the manual TOC table between "## Table des matières" and the next "---" python3 -c " import re with open('paper/README.md', 'r', encoding='utf-8') as f: @@ -69,9 +68,25 @@ jobs: --toc-depth=3 \ --syntax-highlighting=tango - - name: Cleanup temp files - run: | - rm -f paper/paper_clean.md paper/metadata.yaml + - name: Upload PDF artifact + uses: actions/upload-artifact@v4 + with: + name: xerboxion_paper + path: paper/xerboxion_paper.pdf + + commit-pdf: + needs: generate-pdf + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Download PDF artifact + uses: actions/download-artifact@v4 + with: + name: xerboxion_paper + path: paper/ - name: Commit PDF run: |