Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #71
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: Build | |
on: | |
push: | |
branches: | |
- wip | |
- master | |
- preview | |
- release | |
pull_request: | |
branches: | |
- master | |
jobs: | |
compile_pdf: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: "install dependencies" | |
run: | | |
set -ex | |
sudo apt -q update | |
sudo apt install -y texlive-latex-base texlive-latex-extra latexmk | |
- name: "Compile PDF" | |
run: | | |
set -ex | |
cd spec | |
latexmk -pdflatex vt-good-image-protocol | |
- name: "Uploading PDF" | |
uses: actions/upload-artifact@v2 | |
with: | |
name: spec | |
path: spec/vt-good-image-protocol.pdf | |
if-no-files-found: error | |
compile_md: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: "install dependencies" | |
run: | | |
set -ex | |
sudo apt -q update | |
sudo apt install -y pandoc | |
- name: "Compile markdown" | |
run: | | |
set -ex | |
cd spec | |
pandoc -s vt-good-image-protocol.tex -o vt-good-image-protocol.md | |
- name: "Uploading markdown" | |
uses: actions/upload-artifact@v2 | |
with: | |
name: spec | |
path: spec/vt-good-image-protocol.md | |
if-no-files-found: error |