Skip to content

Commit

Permalink
generate pdf on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
parvit committed Aug 21, 2024
1 parent 56a1516 commit 13702c7
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,26 +26,27 @@ jobs:
clean: true
submodules: false

- name: Install Pandoc
uses: pandoc/actions/[email protected]
with:
version: ${{ env.PANDOC_VERSION }}

- name: Install TeXlive
run: sudo apt-get update && sudo apt-get install texlive-full

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
# - name: Install Pandoc
# uses: pandoc/actions/[email protected]
# with:
# version: ${{ env.PANDOC_VERSION }}
#
# - name: Install TeXlive
# run: sudo apt-get update && sudo apt-get install texlive-full
#
# - name: Set up Go
# uses: actions/setup-go@v4
# with:
# go-version: ${{ env.GO_VERSION }}

- name: Generate PDF
run: |
cd docs/
sed -E 's/subtitle:.+/subtitle: "User Manual - version ${{ env.TEST_VER }}"/' user-manual.md > user-manual.md
CURDATE=$(date '+%x %T')
sed -E 's/date:.+/date: "$CURDATE"/' user-manual.md > user-manual.md
go generate
cat user-manual.md
# go generate
- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 13702c7

Please sign in to comment.