From e8a079d575142ed3c9b639a714d23bbeb2059480 Mon Sep 17 00:00:00 2001 From: Marcin Jasiukowicz Date: Tue, 2 Jul 2024 13:48:51 +0200 Subject: [PATCH 1/3] Upload to Releases --- .github/workflows/render_latex.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/render_latex.yml b/.github/workflows/render_latex.yml index d59c5ad..c3cec90 100644 --- a/.github/workflows/render_latex.yml +++ b/.github/workflows/render_latex.yml @@ -10,8 +10,7 @@ jobs: uses: xu-cheng/latex-action@v3 with: root_file: Statut_HSP.tex - - name: Upload PDF file - uses: actions/upload-artifact@v4 + - name: Upload PDF file to Release + uses: softprops/action-gh-release@v2 with: - name: PDF - path: Statut_HSP.pdf + files: Statut_HSP.pdf From 269dd2ad0c123bde01da19ddb613752c3624185b Mon Sep 17 00:00:00 2001 From: Marcin Jasiukowicz Date: Tue, 2 Jul 2024 13:49:55 +0200 Subject: [PATCH 2/3] Aktualizuj formatowanie MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Zmieniono styl dla rozdziałów, sekcji i paragrafów. --- Statut_HSP.tex | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/Statut_HSP.tex b/Statut_HSP.tex index 0c64d56..1f1f556 100644 --- a/Statut_HSP.tex +++ b/Statut_HSP.tex @@ -1,5 +1,3 @@ -% https://samrobbins.uk/blog/my-latex-boilerplate - \documentclass{article} \title{Statut Stowarzyszenia Hackerspace Pomorze} @@ -11,16 +9,14 @@ \usepackage[polish]{babel} \usepackage[margin=1in]{geometry} \usepackage{needspace} -\usepackage[center]{titlesec} +\usepackage[{center,nobottomtitles*}]{titlesec} \usepackage{hyperref} -\begin{document} - -\setlength\parindent{0pt} \renewcommand{\baselinestretch}{0} - \renewcommand\thesection{Rozdział \Roman{section}.} -\newcommand{\myparagraph}[1]{\needspace{16ex}\subsection*{#1}} +\newcommand{\myparagraph}[1]{\subsubsection*{#1}} + +\begin{document} \maketitle @@ -412,9 +408,7 @@ \section{Majątek i gospodarka finansowa} \section{Postanowienia końcowe} \myparagraph{§ 29} -\begin{enumerate} -\item - W przypadku podjęcia uchwały o rozwiązaniu Stowarzyszenia Walne Zebranie Członków określa sposób jego likwidacji oraz przeznaczenie majątku Stowarzyszenia. -\end{enumerate} +W przypadku podjęcia uchwały o rozwiązaniu Stowarzyszenia Walne Zebranie Członków określa sposób jego likwidacji oraz przeznaczenie majątku Stowarzyszenia. + \end{document} From d947501efcc21cbb06e513873d596d998927a25f Mon Sep 17 00:00:00 2001 From: Marcin Jasiukowicz Date: Tue, 2 Jul 2024 14:06:11 +0200 Subject: [PATCH 3/3] Upload to Actions and to Release if Tag is present --- .github/workflows/render_latex.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/render_latex.yml b/.github/workflows/render_latex.yml index c3cec90..c76f629 100644 --- a/.github/workflows/render_latex.yml +++ b/.github/workflows/render_latex.yml @@ -10,7 +10,13 @@ jobs: 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