-
Notifications
You must be signed in to change notification settings - Fork 3
36 lines (32 loc) · 1.23 KB
/
generatedocs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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 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: 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_isoa4_landscape.pdf
prerelease: true
generate_release_notes: true
append_body: true
make_latest: true
tag_name: continuous