Skip to content

Update makefile.yml #27

Update makefile.yml

Update makefile.yml #27

Workflow file for this run

name: html+pdf generation with pandoc
run-name: ${{ github.actor }} is generating new slides
on: [push]
env:
PANDOC_VERSION: 3.1.8
EMOJIONE_VERSION: 8.0.0
jobs:
Install:
runs-on: ubuntu-latest
steps:
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: >
make

Check failure on line 16 in .github/workflows/makefile.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/makefile.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
texlive-xetex
fonts-inconsolata
fonts-linuxlibertine
latex-xcolor
latexmk
librsvg2-bin
lmodern
texlive
texlive-fonts-extra
texlive-fonts-recommended
texlive-generic-recommended
texlive-latex-extra
texlive-math-extra
texlive-xetex
texlive-lang-french
version: 1.0
- run: |
# sudo fmtutil-sys --all
wget https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-1-amd64.deb -O pandoc.deb
sudo dpkg -i pandoc.deb
- run: |
wget https://github.com/joypixels/emoji-assets/archive/v${EMOJIONE_VERSION}.tar.gz -O emojione-assets.tgz
tar xf emojione-assets.tgz
mv emoji-assets-${EMOJIONE_VERSION} emojione-assets
wget https://raw.githubusercontent.com/mreq/xelatex-emoji/master/xelatexemoji.sty
wget https://raw.githubusercontent.com/mreq/xelatex-emoji/master/xelatexemoji-flags.sty
sed -i 's/^\(\\usepackage{amsmath}\)/%\1/' xelatexemoji.sty
sed -i 's/^\(\\providecommand{\\xelatexemojipath}\)/%\1/' xelatexemoji.sty
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- name: Run the Makefile
run: |
ls ${{ github.workspace }}
make all
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the build repository
run: |
ls ${{ github.workspace }}
echo "Build:"
ls ${{ github.workspace }}/build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build # The folder the action should deploy.
- run: echo "🍏 This job's status is ${{ job.status }}."