Add appendix and update the page limit #15
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 | |
container: | |
image: adnrv/texlive:adntools | |
strategy: | |
matrix: | |
type: [review, final] | |
paper: [fullpaper, abstract] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Compile PDF | |
run: | | |
latexmk -f -pdf -pdflatex="pdflatex -interaction=nonstopmode --shell-escape %O \"\documentclass[${{ matrix.paper }},${{ matrix.type }}]{nldl}\renewcommand\documentclass[2][]{}\input{%S}\"" -jobname=main main | |
- name: Move | |
run: mv main.pdf ./${{ matrix.paper }}-${{ matrix.type }}.pdf | |
- name: Upload PDF as artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ matrix.paper }}-${{ matrix.type }} | |
path: ./${{ matrix.paper }}-${{ matrix.type }}.pdf | |
deploy: | |
needs: [build] | |
runs-on: ubuntu-latest | |
container: | |
image: adnrv/texlive:adntools | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install zip | |
run: apt update -qq && apt install -y zip | |
- name: Zip code | |
run: zip --junk-paths authorkit.zip main.tex nldl.cls references.bib | |
- name: Release code | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |
./authorkit.zip |