Skip to content

albo tak???

albo tak??? #8

Workflow file for this run

name: "Build PDF"
on:
push:
branches:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get install -y \
texlive-latex-extra \
texlive-lang-polish \
texlive-fonts-recommended \
texlive-fonts-extra \
make
- name: Install Poetry
run: pipx install poetry
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "poetry"
- name: Build final document
run: make all
- name: Upload artifacts
with:
name: statute-pl
path: |
build/statut.pdf
build/statut.tex
- name: Create release (on tag push)
uses: softprops/action-gh-release@v1
if: ${{ github.ref_type == 'tag' }}
with:
files: |
build/statut.pdf
build/statut.tex