From 56a15165910aa07e0200eb7cfe937ef28a6af6c9 Mon Sep 17 00:00:00 2001 From: Vittorio Parrella Date: Wed, 21 Aug 2024 20:00:45 +0200 Subject: [PATCH] generate pdf on CI --- .github/workflows/integration.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 199c8ad..eb1a204 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -43,7 +43,8 @@ jobs: run: | cd docs/ sed -E 's/subtitle:.+/subtitle: "User Manual - version ${{ env.TEST_VER }}"/' user-manual.md > user-manual.md - sed -E 's/date:.+/date: "${date \'+%x %T\'}"/' user-manual.md > user-manual.md + CURDATE=$(date '+%x %T') + sed -E 's/date:.+/date: "$CURDATE"/' user-manual.md > user-manual.md go generate - uses: actions/upload-artifact@v4