Skip to content

Commit 4f9ff28

Browse files
committed
CI: Use GitHub Actions from pgf-tikz/actions
1 parent 759ccae commit 4f9ff28

File tree

4 files changed

+117
-164
lines changed

4 files changed

+117
-164
lines changed

.github/workflows/main.yml

Lines changed: 117 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,77 @@ jobs:
2525
key: texlive
2626

2727
- name: Set up TeX Live environment
28-
run: . ci/texlive.sh
28+
uses: pgf-tikz/actions/install-tl@master
29+
with:
30+
packages:
31+
amsfonts
32+
amsmath
33+
atbegshi
34+
atveryend
35+
bigintcalc
36+
bitset
37+
colortbl
38+
courier
39+
ctablestack
40+
dvipdfmx
41+
dvips
42+
dvisvgm
43+
ec
44+
epstopdf-pkg
45+
etexcmds
46+
fp
47+
geometry
48+
gettitlestring
49+
graphics
50+
graphics-def
51+
hycolor
52+
hyperref
53+
iftex
54+
imakeidx
55+
intcalc
56+
kvdefinekeys
57+
kvoptions
58+
kvsetkeys
59+
latex
60+
latex-bin
61+
letltxmacro
62+
listings
63+
lm
64+
ltxcmds
65+
luainputenc
66+
luaotfload
67+
luatex
68+
luatexbase
69+
luaxml
70+
make4ht
71+
makeindex
72+
metafont
73+
mfware
74+
ms
75+
oberdiek
76+
pdfescape
77+
pdftexcmds
78+
psnfss
79+
refcount
80+
rerunfilecheck
81+
stringenc
82+
symbol
83+
tex4ht
84+
texlive-scripts
85+
times
86+
todonotes
87+
tools
88+
uniquecounter
89+
url
90+
xcolor
91+
xetex
92+
xkeyval
93+
zapfding
94+
95+
- name: 'Install PGF'
96+
run: |
97+
tlmgr init-usertree --usertree $PWD
98+
echo "TEXMFHOME=$PWD" >> $GITHUB_ENV
2999
30100
- name: Generate the revision file
31101
run: |
@@ -161,10 +231,52 @@ jobs:
161231

162232
- name: "CTAN: Validate"
163233
if: matrix.engine == 'luatex'
164-
run: |
165-
bash ci/ctan_upload.sh validate
234+
uses: pgf-tikz/actions/ctan-upload@master
235+
with:
236+
action: validate
237+
announcement: doc/generic/pgf/RELEASE_NOTES.md
238+
author: 'Christian Feuersänger;Henri Menke;The PGF/TikZ Team;Till Tantau'
239+
bugs: https://github.com/pgf-tikz/pgf/issues
240+
ctanPath: /graphics/pgf/base
241+
description: doc/generic/pgf/description.html
242+
email: pgf-tikz@tug.org
243+
file: 'pgf_${{ env.GIT_TAG }}.ctan.flatdir.zip'
244+
license: 'fdl;gpl2;lppl1.3c'
245+
note: |
246+
The release files are signed using a detached signature. You can obtain the
247+
signature from the GitHub release page
248+
249+
https://github.com/pgf-tikz/pgf/releases/download/${{ env.GIT_TAG }}/pgf_${{ env.GIT_TAG }}.ctan.flatdir.zip.sig
250+
pkg: pgf
251+
repository: https://github.com/pgf-tikz/pgf
252+
summary: Create PostScript and PDF graphics in TeX
253+
support: https://tug.org/mailman/listinfo/pgf-tikz
254+
update: true
255+
uploader: github-actions
256+
version: ${{ env.GIT_TAG }}
166257

167258
- name: "CTAN: Upload"
168259
if: matrix.engine == 'luatex' && startsWith(github.ref, 'refs/tags/') && github.repository == 'pgf-tikz/pgf'
169-
run: |
170-
bash ci/ctan_upload.sh upload
260+
uses: pgf-tikz/actions/ctan-upload@master
261+
with:
262+
action: upload
263+
announcement: doc/generic/pgf/RELEASE_NOTES.md
264+
author: 'Christian Feuersänger;Henri Menke;The PGF/TikZ Team;Till Tantau'
265+
bugs: https://github.com/pgf-tikz/pgf/issues
266+
ctanPath: /graphics/pgf/base
267+
description: doc/generic/pgf/description.html
268+
email: pgf-tikz@tug.org
269+
file: 'pgf_${{ env.GIT_TAG }}.ctan.flatdir.zip'
270+
license: 'fdl;gpl2;lppl1.3c'
271+
note: |
272+
The release files are signed using a detached signature. You can obtain the
273+
signature from the GitHub release page
274+
275+
https://github.com/pgf-tikz/pgf/releases/download/${{ env.GIT_TAG }}/pgf_${{ env.GIT_TAG }}.ctan.flatdir.zip.sig
276+
pkg: pgf
277+
repository: https://github.com/pgf-tikz/pgf
278+
summary: Create PostScript and PDF graphics in TeX
279+
support: https://tug.org/mailman/listinfo/pgf-tikz
280+
update: true
281+
uploader: github-actions
282+
version: ${{ env.GIT_TAG }}

ci/ctan_upload.sh

Lines changed: 0 additions & 45 deletions
This file was deleted.

ci/texlive.profile

Lines changed: 0 additions & 10 deletions
This file was deleted.

ci/texlive.sh

Lines changed: 0 additions & 104 deletions
This file was deleted.

0 commit comments

Comments
 (0)