Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Release" | ||
<<<<<<< HEAD | ||
on: | ||
workflow_run: | ||
======= | ||
on: push | ||
#workflow_run: | ||
>>>>>>> 3baf2b2 (upd) | ||
#workflows: ["Tex format CI"] | ||
#types: [completed] | ||
#branches: "main" | ||
permissions: | ||
contents: write | ||
jobs: | ||
#release: | ||
on-success: | ||
name: "Release" | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install pdflatex | ||
run: | | ||
apt update | ||
apt upgrade | ||
apt install texlive-full | ||
- name: Create directory | ||
run: mkdir .build | ||
- name: Build pdfs | ||
run: | | ||
find src -name '*.tex' -exec pdflatex {} \; | ||
mv *.pdf .build | ||
- name: Commit report | ||
run: | | ||
git config --global user.name 'Thomas Lohse' | ||
git config --global user.email '[email protected]' | ||
git commit add .build | ||
git commit -m ".build" | ||
git push | ||