Skip to content

Commit

Permalink
Check generated CTAN archive with pkgcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
hmenke committed Jan 17, 2024
1 parent a2dfb2f commit be8ca81
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
groups:
github-actions:
patterns:
- "*"
15 changes: 14 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ jobs:
engine: [pdflatex, lualatex, xelatex, latex]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: 'Fixup Run actions/checkout'
run: git config --global --add safe.directory '*'

- name: 'Install pgf-umlcd'
run: |
tlmgr init-usertree --usertree $PWD
Expand Down Expand Up @@ -48,6 +51,16 @@ jobs:
--xform='s$^$pgf-umlcd/$g' \
-czvf pgf-umlcd_${GIT_TAG}.tar.gz $(cat FILES)
- name: 'ZIP: Check'
run: |
apt-get update -y
DEBIAN_FRONTEND=noninteractive apt-get install -y curl poppler-utils
curl --retry 3 --retry-all-errors -L -o pkgcheck https://mirrors.ctan.org/support/pkgcheck/bin/pkgcheck
chmod +x pkgcheck
PKGDIR=$(mktemp -d)
tar xzf "pgf-umlcd_${GIT_TAG}.tar.gz" -C "$PKGDIR"
./pkgcheck -d "$PKGDIR/pgf-umlcd"
- name: "ZIP: Sign"
if: |
matrix.engine == 'pdflatex' &&
Expand Down

0 comments on commit be8ca81

Please sign in to comment.