Minor tweaks to Spack demo notes #1593
This file contains hidden or 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: PDF creation | |
| on: | |
| push: | |
| branches: | |
| - "*" | |
| pull_request: | |
| branches: | |
| - "*" | |
| workflow_dispatch: | |
| jobs: | |
| create_pdfs: | |
| runs-on: ubuntu-22.04 | |
| container: pandoc/latex:2 | |
| steps: | |
| - name: Install bash | |
| run: apk add bash | |
| - name: Checkout repository | |
| uses: actions/checkout@v2 | |
| - name: Compile PDFs (slides) | |
| run: | | |
| ./scripts/create-pdf-from-markdown.sh slides | |
| - name: Upload slides | |
| uses: actions/upload-artifact@master | |
| with: | |
| name: slides | |
| path: slides | |
| retention-days: 7 | |
| - name: Compile PDFs (quizzes) | |
| run: | | |
| ./scripts/create-pdf-from-markdown.sh quiz | |
| - name: Compile PDFs (exercises) | |
| run: | | |
| ./scripts/create-pdf-from-markdown.sh exercise | |
| - name: Compile PDFs (demos) | |
| run: | | |
| ./scripts/create-pdf-from-markdown.sh demo | |
| - name: Upload texts | |
| uses: actions/upload-artifact@master | |
| with: | |
| name: texts | |
| path: texts | |
| retention-days: 7 |