Skip to content

Upload to Actions and to Release if Tag is present #6

Upload to Actions and to Release if Tag is present

Upload to Actions and to Release if Tag is present #6

Workflow file for this run

name: Renderuj Statut z pliku źródłowego LaTeX
on: [push]
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v3
with:
root_file: Statut_HSP.tex
- name: Upload PDF file
uses: actions/upload-artifact@v4
with:
name: PDF
path: Statut_HSP.pdf
- name: Upload PDF file to Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: Statut_HSP.pdf