Append write permission #9
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: Build Beamer Presentation | |
on: | |
push: | |
tags: | |
- "v*" | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v4 | |
- name: Install minimal TeX Live packages | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install -y \ | |
texlive-latex-base \ | |
texlive-latex-recommended \ | |
texlive-fonts-recommended \ | |
texlive-latex-extra \ | |
texlive-lang-czechslovak | |
- name: Clean previous build files | |
run: rm -f presentation/*.pdf presentation/*.aux presentation/*.log | |
- name: Compile Beamer Presentation | |
run: | | |
pdflatex -file-line-error -output-directory=presentation presentation/prezentace.tex | |
pdflatex -file-line-error -output-directory=presentation presentation/prezentace.tex | |
- name: Create release with compiled presentation | |
uses: softprops/action-gh-release@v2 | |
with: | |
files: presentation/prezentace.pdf |