-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (45 loc) · 1.73 KB
/
illustrate-no-update-check.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
37
38
39
40
41
42
43
44
45
name: Illustrate no update check
on:
push:
paths:
- '.github/workflows/illustrate-no-update-check.yml'
- 'example-just-article.tex'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
miktex:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Add ~/bin to PATH
run: echo "${HOME}/bin" >> $GITHUB_PATH
- name: "Install MikTeX: apt-get install"
run: |
set -e
sudo gpg --homedir /tmp --no-default-keyring --keyring /usr/share/keyrings/miktex.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D6BC243565B2087BC3F897C9277A7293F59E4889
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/miktex.gpg] https://miktex.org/download/ubuntu jammy universe" | sudo tee /etc/apt/sources.list.d/miktex.list
sudo apt-get update -y -q
sudo apt-get install -qq -y --no-install-recommends miktex
- run: miktexsetup --verbose finish
- run: initexmf --verbose --set-config-value=[MPM]AutoInstall=1
- run: miktex --verbose packages update-package-database
- run: miktex --verbose packages update
- run: miktex --verbose packages update
- run: miktex --verbose packages install cm-super
- run: miktex --verbose fndb refresh
- run: initexmf --verbose --update-fndb
- run: initexmf --verbose --mklinks --force
- run: updmap
- run: pdflatex example-just-article
- uses: actions/upload-artifact@v3
with:
name: PDFs
path: "*.pdf"
- uses: actions/upload-artifact@v3
if: ${{ !cancelled() }}
with:
name: logs
path: "*.log"