From 85e6de8e5a5759fde124cbc54c381f197ee878fc Mon Sep 17 00:00:00 2001 From: LogCreative Date: Fri, 10 Dec 2021 11:40:05 +0800 Subject: [PATCH] ci: try use legacy docker --- .github/ci/build_package.sh | 3 +++ .github/workflows/build.yml | 7 ++----- contrib/sjtug/sjtubeamerthemesjtug.ltx | 4 +++- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/ci/build_package.sh b/.github/ci/build_package.sh index 00906d44..7b0636b5 100755 --- a/.github/ci/build_package.sh +++ b/.github/ci/build_package.sh @@ -1,5 +1,8 @@ #!/bin/bash +export diffexe="diff -U 3" +apk add zip diffutils + cd src l3build ctan # This will trigger checkinit_hook() to move the files to the root directory. diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0ccc53d1..d630a243 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -62,13 +62,10 @@ jobs: steps: - uses: actions/checkout@v2 name: checkout code - - uses: xu-cheng/texlive-action/full@v1 + - name: build package with l3build with: run: | - export diffexe="diff -U 3" - apk add zip diffutils - .github/ci/build_package.sh - name: build package with l3build + docker run ghcr.io/xu-cheng/texlive-full:20211101 -eo pipefail -c /bin/bash .github/ci/build_package.sh - name: check if generated files are of latest version run: | git diff --exit-code diff --git a/contrib/sjtug/sjtubeamerthemesjtug.ltx b/contrib/sjtug/sjtubeamerthemesjtug.ltx index 517a9178..a74bb739 100644 --- a/contrib/sjtug/sjtubeamerthemesjtug.ltx +++ b/contrib/sjtug/sjtubeamerthemesjtug.ltx @@ -61,4 +61,6 @@ % 设置标题页 \defbeamertemplatealias{title page}{my}{sjtug} % 设置结束页 -\defbeamertemplatealias{bottom page}{my}{min} \ No newline at end of file +\defbeamertemplatealias{bottom page}{my}{min} + +\PackageWarning{sjtug}{\CurrentFile} \ No newline at end of file