From 347996c2a6887f6c3e573cf45a8a5da41e52256c Mon Sep 17 00:00:00 2001 From: jarjar Date: Thu, 13 Mar 2025 12:28:04 +0000 Subject: [PATCH] Update .gitea-ci.yml --- .gitea-ci.yml | 31 +++++++++++-------------------- 1 file changed, 11 insertions(+), 20 deletions(-) diff --git a/.gitea-ci.yml b/.gitea-ci.yml index 8f35721..3a23568 100644 --- a/.gitea-ci.yml +++ b/.gitea-ci.yml @@ -4,27 +4,18 @@ on: push: tags: - '*' - jobs: build: - runs-on: texlive/texlive + runs-on: ubuntu-latest steps: - - name: Checkout du dépôt - uses: actions/checkout@v4 - - - name: Compiler le PDF - run: | - mkdir -p package - cd source - pdflatex -output-format=pdf -interaction=nonstopmode -output-directory=../package main.tex - - - name: Renommer le fichier - run: | - TAG_NAME=${{ github.ref_name }} - mv package/main.pdf package/CV-Jarod-CAJNA-${TAG_NAME}.pdf - - - name: Upload PDF en artefact - uses: actions/upload-artifact@v4 + - name: Set up Git repository + uses: https://github.com/actions/checkout@v4 + - name: Compile LaTeX document + uses: https://github.com/xu-cheng/latex-action@v3 with: - name: CV-Jarod-CAJNA-${{ github.ref_name }}.pdf - path: package/CV-Jarod-CAJNA-${{ github.ref_name }}.pdf + root_file: main.tex + - name: Upload PDF file + uses: https://github.com/actions/upload-artifact@v4 + with: + name: CV-Jarod-CAJNA-${{ gitea.ref_name }}.pdf + path: CV-Jarod-CAJNA-${{ gitea.ref_name }}.pdf \ No newline at end of file