Skip to content

Commit 337b0ab

Browse files
committed
Use TeX Live Docker image
1 parent 91e6e52 commit 337b0ab

File tree

1 file changed

+5
-61
lines changed

1 file changed

+5
-61
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on: [push, pull_request]
55
jobs:
66
build:
77
runs-on: ubuntu-latest
8+
container:
9+
image: registry.gitlab.com/islandoftex/images/texlive:latest
810

911
strategy:
1012
matrix:
@@ -15,66 +17,6 @@ jobs:
1517
with:
1618
fetch-depth: 0
1719

18-
- name: Cache dependencies
19-
uses: actions/cache@v2
20-
with:
21-
path: |
22-
/tmp/texlive
23-
~/.texlive
24-
key: texlive
25-
26-
- name: Set up TeX Live environment
27-
uses: pgf-tikz/actions/install-tl@master
28-
with:
29-
packages:
30-
dvips
31-
ec
32-
latex
33-
latex-bin
34-
luaotfload
35-
luatex
36-
luatexbase
37-
metafont
38-
mfware
39-
xetex
40-
atbegshi
41-
atveryend
42-
auxhook
43-
bigintcalc
44-
bitset
45-
epstopdf-pkg
46-
etexcmds
47-
geometry
48-
gettitlestring
49-
graphics
50-
graphics-cfg
51-
graphics-def
52-
hycolor
53-
hyperref
54-
iftex
55-
infwarerr
56-
intcalc
57-
kvdefinekeys
58-
kvoptions
59-
kvsetkeys
60-
l3backend
61-
latex
62-
latexconfig
63-
letltxmacro
64-
listings
65-
listings-ext
66-
ltxcmds
67-
mptopdf
68-
ms
69-
pdfescape
70-
pdftexcmds
71-
pgf
72-
refcount
73-
rerunfilecheck
74-
uniquecounter
75-
url
76-
xcolor
77-
7820
- name: 'Install pgf-umlcd'
7921
run: |
8022
tlmgr init-usertree --usertree $PWD
@@ -104,7 +46,7 @@ jobs:
10446
echo doc/latex/pgf-umlcd/pgf-umlcd-manual.pdf | tee -a FILES
10547
tar --xform='s$\(doc\|tex\)/latex/pgf-umlcd/$$g' \
10648
--xform='s$^$pgf-umlcd/$g' \
107-
-cvf pgf-umlcd_${GIT_TAG}.tar.gz $(cat FILES)
49+
-czvf pgf-umlcd_${GIT_TAG}.tar.gz $(cat FILES)
10850
10951
- name: "ZIP: Sign"
11052
if: |
@@ -115,6 +57,8 @@ jobs:
11557
GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }}
11658
GPG_PUBLIC_KEY: ${{ secrets.GPG_PUBLIC_KEY }}
11759
run: |
60+
apt-get update -qq
61+
DEBIAN_FRONTEND=noninteractive apt-get install -qq gpg-agent
11862
# get the keys
11963
printenv GPG_SECRET_KEY > "pgf-${GIT_TAG}.sec"
12064
printenv GPG_PUBLIC_KEY > "pgf-${GIT_TAG}.pub"

0 commit comments

Comments
 (0)