From f11d79ecdb442231a6b6fe2880861870d045368d Mon Sep 17 00:00:00 2001 From: Jali Date: Thu, 14 May 2026 22:08:29 +0200 Subject: [PATCH] Add pipeline support --- .gitea/workflows/pipelines.yaml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/pipelines.yaml b/.gitea/workflows/pipelines.yaml index d40b66f..bf0da00 100644 --- a/.gitea/workflows/pipelines.yaml +++ b/.gitea/workflows/pipelines.yaml @@ -1,3 +1,11 @@ +# Build script that builds and configures a LaTeX document +# Can be extended to build other formats, such as odt or gmi files, and +# will create a new release, with the generated files as target. +# +# Variables +# - MAJOR: The major version number for the release version scheme +# - MINOR: The minor version number for the release version scheme` + name: Build LaTex Document run-name: ${{ gitea-actor }} is building LaTeX documents on: @@ -16,10 +24,16 @@ jobs: waf distclean waf configure waf build + - name: Bulding the EPUB document + run: | + waf configure --form=epub + waf build - name: Release uses: akkuman/gitea-release-action@v1 with: files: |- build/*.pdf - name: Release ${{ gitea.run_number }}.${{ gitea.run_attempt }} - tag_name: Release_${{ gitea.run_number }}.${{ gitea.run_attempt }} + build/*.epub + name: Release ${{ vars.MAJOR }}.${{ vars.MINOR }}.${{ gitea.run_number }}.${{ gitea.run_attempt }} + tag_name: Release_${{ vars.MAJOR }}.${{ vars.MINOR }}.${{ gitea.run_number }}.${{ gitea.run_attempt }} +