Skip to content

fix action, add dependabot #10

fix action, add dependabot

fix action, add dependabot #10

Workflow file for this run

name: "Build PDF"
on: push
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
uses: actions/upload-artifact@v3
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