Skip to content

Commit

Permalink
CI: Use GitHub Actions from pgf-tikz/actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hmenke committed Dec 25, 2020
1 parent 759ccae commit 4f9ff28
Show file tree
Hide file tree
Showing 4 changed files with 117 additions and 164 deletions.
122 changes: 117 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,77 @@ jobs:
key: texlive

- name: Set up TeX Live environment
run: . ci/texlive.sh
uses: pgf-tikz/actions/install-tl@master
with:
packages:
amsfonts
amsmath
atbegshi
atveryend
bigintcalc
bitset
colortbl
courier
ctablestack
dvipdfmx
dvips
dvisvgm
ec
epstopdf-pkg
etexcmds
fp
geometry
gettitlestring
graphics
graphics-def
hycolor
hyperref
iftex
imakeidx
intcalc
kvdefinekeys
kvoptions
kvsetkeys
latex
latex-bin
letltxmacro
listings
lm
ltxcmds
luainputenc
luaotfload
luatex
luatexbase
luaxml
make4ht
makeindex
metafont
mfware
ms
oberdiek
pdfescape
pdftexcmds
psnfss
refcount
rerunfilecheck
stringenc
symbol
tex4ht
texlive-scripts
times
todonotes
tools
uniquecounter
url
xcolor
xetex
xkeyval
zapfding

- name: 'Install PGF'
run: |
tlmgr init-usertree --usertree $PWD
echo "TEXMFHOME=$PWD" >> $GITHUB_ENV
- name: Generate the revision file
run: |
Expand Down Expand Up @@ -161,10 +231,52 @@ jobs:

- name: "CTAN: Validate"
if: matrix.engine == 'luatex'
run: |
bash ci/ctan_upload.sh validate
uses: pgf-tikz/actions/ctan-upload@master
with:
action: validate
announcement: doc/generic/pgf/RELEASE_NOTES.md
author: 'Christian Feuersänger;Henri Menke;The PGF/TikZ Team;Till Tantau'
bugs: https://github.com/pgf-tikz/pgf/issues
ctanPath: /graphics/pgf/base
description: doc/generic/pgf/description.html
email: pgf-tikz@tug.org
file: 'pgf_${{ env.GIT_TAG }}.ctan.flatdir.zip'
license: 'fdl;gpl2;lppl1.3c'
note: |
The release files are signed using a detached signature. You can obtain the
signature from the GitHub release page
https://github.com/pgf-tikz/pgf/releases/download/${{ env.GIT_TAG }}/pgf_${{ env.GIT_TAG }}.ctan.flatdir.zip.sig
pkg: pgf
repository: https://github.com/pgf-tikz/pgf
summary: Create PostScript and PDF graphics in TeX
support: https://tug.org/mailman/listinfo/pgf-tikz
update: true
uploader: github-actions
version: ${{ env.GIT_TAG }}

- name: "CTAN: Upload"
if: matrix.engine == 'luatex' && startsWith(github.ref, 'refs/tags/') && github.repository == 'pgf-tikz/pgf'
run: |
bash ci/ctan_upload.sh upload
uses: pgf-tikz/actions/ctan-upload@master
with:
action: upload
announcement: doc/generic/pgf/RELEASE_NOTES.md
author: 'Christian Feuersänger;Henri Menke;The PGF/TikZ Team;Till Tantau'
bugs: https://github.com/pgf-tikz/pgf/issues
ctanPath: /graphics/pgf/base
description: doc/generic/pgf/description.html
email: pgf-tikz@tug.org
file: 'pgf_${{ env.GIT_TAG }}.ctan.flatdir.zip'
license: 'fdl;gpl2;lppl1.3c'
note: |
The release files are signed using a detached signature. You can obtain the
signature from the GitHub release page
https://github.com/pgf-tikz/pgf/releases/download/${{ env.GIT_TAG }}/pgf_${{ env.GIT_TAG }}.ctan.flatdir.zip.sig
pkg: pgf
repository: https://github.com/pgf-tikz/pgf
summary: Create PostScript and PDF graphics in TeX
support: https://tug.org/mailman/listinfo/pgf-tikz
update: true
uploader: github-actions
version: ${{ env.GIT_TAG }}
45 changes: 0 additions & 45 deletions ci/ctan_upload.sh

This file was deleted.

10 changes: 0 additions & 10 deletions ci/texlive.profile

This file was deleted.

104 changes: 0 additions & 104 deletions ci/texlive.sh

This file was deleted.

0 comments on commit 4f9ff28

Please sign in to comment.