Skip to content

Delete AppExamples/scripted_diagrams/ScriptedDiagramBasics/doc/Releas… #6

Delete AppExamples/scripted_diagrams/ScriptedDiagramBasics/doc/Releas…

Delete AppExamples/scripted_diagrams/ScriptedDiagramBasics/doc/Releas… #6

name: Create Release Notes PDF
on:
push:
branches:
- main
workflow_dispatch:
jobs:
create_pdf:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Pandoc
run: |
sudo apt-get update
# Install pdflatex as prerequisite for pandoc PDF output
sudo apt-get install -y texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra
sudo apt-get install -y pandoc
- name: Find and Convert Release Notes
id: convert_notes
run: |
find . -type f -name 'Releasenotes.md' -exec sh -c '
basepath=$(dirname "{}") # Get the folder path
if [ ! -f "$basepath/Releasenotes.pdf" ]; then
pandoc "{}" -o "$basepath/Releasenotes.pdf"
fi
' \;