Skip to content

generating docs

generating docs #39

Workflow file for this run

name: generating-docs
run-name: generating docs
on: [push]
jobs:
check-bats-version:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
repository-projects: write
steps:
- name: Set up Git repository
uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get install texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra
- name: Create English ISO A4 Landscape PDF
run: pdflatex -jobname=ada_reference_card_2022_english_isoa4_landscape "\documentclass[english]{article}\newcommand\columnnr{3}\usepackage[a4paper,margin=0.25cm,landscape]{geometry}\input{ada_reference_card_2022_en}"
- name: Create English ISO A2 Landscape PDF
run: pdflatex -jobname=ada_reference_card_2022_english_isoa2_landscape "\documentclass[english]{article}\newcommand\columnnr{5}\usepackage[a2paper,margin=0.25cm,landscape]{geometry}\input{ada_reference_card_2022_en}"
- name: Create English USlegal landscape PDF
run: pdflatex -jobname=ada_reference_card_2022_english_legal_landscape "\documentclass[english]{article}\newcommand\columnnr{3}\usepackage[legalpaper,margin=0.25cm,landscape]{geometry}\input{ada_reference_card_2022_en}"
- name: Create English ISO A4 portrait PDF
run: pdflatex -jobname=ada_reference_card_2022_english_isoa4_portrait "\documentclass[english]{article}\newcommand\columnnr{2}\usepackage[a4paper,margin=0.25cm,portrait]{geometry}\input{ada_reference_card_2022_en}"
- name: Create English ISO A2 portrait PDF
run: pdflatex -jobname=ada_reference_card_2022_english_isoa2_portrait "\documentclass[english]{article}\newcommand\columnnr{3}\usepackage[a2paper,margin=0.25cm,portrait]{geometry}\input{ada_reference_card_2022_en}"
- name: Create English USlegal portrait PDF
run: pdflatex -jobname=ada_reference_card_2022_english_legal_portrait "\documentclass[english]{article}\newcommand\columnnr{2}\usepackage[legalpaper,margin=0.25cm,portrait]{geometry}\input{ada_reference_card_2022_en}"
- name: Create English ISO B2 landscape PDF
run: pdflatex -jobname=ada_reference_card_2022_english_isob2_landscape "\documentclass[english]{article}\newcommand\columnnr{5}\usepackage[b2paper,margin=1.5cm,landscape]{geometry}\input{ada_reference_card_2022_en}"
- name: Delete 'continuous' release and tag
uses: dev-drprasad/[email protected]
with:
delete_release: true
github_token: ${{ secrets.GITHUB_TOKEN }}
tag_name: continuous
- name: Release
uses: softprops/action-gh-release@v2
with:
files: |
ada_reference_card_2022_english_isob2_landscape.pdf
ada_reference_card_2022_english_isoa2_portrait.pdf
ada_reference_card_2022_english_legal_portrait.pdf
ada_reference_card_2022_english_isoa4_portrait.pdf
ada_reference_card_2022_english_isoa2_landscape.pdf
ada_reference_card_2022_english_legal_landscape.pdf
ada_reference_card_2022_english_isoa4_landscape.pdf
prerelease: true
generate_release_notes: true
append_body: true
make_latest: true
tag_name: continuous