Create readme.md #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate PDF | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Pandoc | |
run: sudo apt-get install -y pandoc | |
- name: Convert Markdown to PDF | |
run: pandoc -s README.md -o output.pdf | |
- name: Upload PDF as artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: output-pdf | |
path: output.pdf |