Squashed commit of the following: #332
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: build | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Build the article PDF | |
concurrency: showyourwork-${{ github.ref }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Installation for matplotlib LaTeX rendering | |
id: matplotlib_LaTex | |
shell: bash -l {0} | |
run: | | |
sudo apt-get update | |
sudo apt install texlive texlive-latex-extra texlive-fonts-recommended dvipng cm-super | |
- name: Build the article PDF | |
id: build | |
uses: showyourwork/showyourwork-action@v1 | |
with: | |
showyourwork-spec: git+https://github.com/showyourwork/showyourwork.git | |
env: | |
SANDBOX_TOKEN: ${{ secrets.SANDBOX_TOKEN }} | |
OVERLEAF_EMAIL: ${{ secrets.OVERLEAF_EMAIL }} | |
OVERLEAF_PASSWORD: ${{ secrets.OVERLEAF_PASSWORD }} |