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" | ||
on: push | ||
#workflow_run: | ||
#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 deps | ||
run: | | ||
sudo apt update | ||
sudo apt upgrade | ||
sudo apt install texlive-latex-base | ||
# sudo apt install texlive-fonts-recommended | ||
# sudo apt install texlive-fonts-extra | ||
sudo apt install texlive-latex-extra | ||
- 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 add .build | ||
git commit -m ".build" | ||
git push | ||