diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..d647c29 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,19 @@ +name: Build Statut +on: [push] +jobs: + build_latex: + runs-on: ubuntu-latest + steps: + - name: Set up Git repository + uses: actions/checkout@v3 + - name: Compile LaTeX document + uses: xu-cheng/latex-action@v2 + with: + root_file: statut.tex + extra_packages: fixfoot + extra_system_packages: texlive-full + - name: Save artifacts + uses: actions/upload-artifact@v3 + with: + name: Statut + path: statut.pdf diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a5baab2..0000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -branches: - only: - - master -before_script: - - sudo apt-get install -y texlive texlive-lang-polish texlive-fonts-extra texlive-latex-extra -script: - - pdflatex -halt-on-error statut.tex