Skip to content

Commit

Permalink
ci: update texlive-action
Browse files Browse the repository at this point in the history
  • Loading branch information
LogCreative committed Dec 26, 2023
1 parent fcd4e82 commit a961f03
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 10 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ jobs:
steps:
- uses: actions/checkout@v4
name: checkout code
- uses: xu-cheng/texlive-action/full@v1
- uses: xu-cheng/texlive-action@v2
with:
scheme: full
run: .github/ci/build_test_variants.sh -halt-on-error -time -quiet -xelatex
name: build test variants with XeLaTeX
- uses: xu-cheng/texlive-action/full@v1
- uses: xu-cheng/texlive-action@v2
with:
scheme: full
run: .github/ci/gen_cover.sh -halt-on-error -time -xelatex
name: build cover with XeLaTeX
- run: cat build/build-*.log
Expand All @@ -45,12 +47,14 @@ jobs:
steps:
- uses: actions/checkout@v4
name: checkout code
- uses: xu-cheng/texlive-action/full@v1
- uses: xu-cheng/texlive-action@v2
with:
scheme: full
run: .github/ci/build_test_variants.sh -halt-on-error -time -quiet -lualatex
name: build test variants with LuaLaTeX
- uses: xu-cheng/texlive-action/full@v1
- uses: xu-cheng/texlive-action@v2
with:
scheme: full
run: .github/ci/gen_cover.sh -halt-on-error -time -quiet -lualatex
name: build cover with LuaLaTeX
- run: cat build/*.log
Expand All @@ -68,8 +72,9 @@ jobs:
steps:
- uses: actions/checkout@v4
name: checkout code
- uses: xu-cheng/texlive-action/full@v1
- uses: xu-cheng/texlive-action@v2
with:
scheme: full
run: |
export diffexe="diff -U 3"
apk add zip diffutils
Expand All @@ -94,8 +99,9 @@ jobs:
steps:
- uses: actions/checkout@v4
name: checkout code
- uses: xu-cheng/texlive-action/full@v1
- uses: xu-cheng/texlive-action@v2
with:
scheme: full
run: |
apk add diffutils findutils git make
git config --global --add safe.directory /github/workspace
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/contrib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ jobs:
uses: juliangruber/[email protected]
with:
path: ./contrib.txt
- uses: xu-cheng/texlive-action/full@v1
- uses: xu-cheng/texlive-action@v2
with:
scheme: full
run: |
apk add ghostscript imagemagick gnupg
sed -i "s|<policy domain=\"coder\" rights=\"none\" pattern=\"PDF\" />|<policy domain=\"coder\" rights=\"read\|write\" pattern=\"PDF\" />|g" /etc/ImageMagick-*/policy.xml
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,23 @@ jobs:
steps:
- uses: actions/checkout@v4
name: checkout code
- uses: xu-cheng/texlive-action/full@v1
- uses: xu-cheng/texlive-action@v2
with:
scheme: full
run: |
apk add zip diffutils
tlmgr update --self
tlmgr update l3build
make build-dev
name: build package with XeLaTeX
- uses: xu-cheng/texlive-action/full@v1
- uses: xu-cheng/texlive-action@v2
with:
scheme: full
run: .github/ci/build_all_variants.sh -halt-on-error -time -quiet -xelatex
name: build all variants with XeLaTeX
- uses: xu-cheng/texlive-action/full@v1
- uses: xu-cheng/texlive-action@v2
with:
scheme: full
run: .github/ci/gen_cover.sh -halt-on-error -time -quiet -xelatex
name: build cover with XeLaTeX
- run: cat build/*.log
Expand Down

0 comments on commit a961f03

Please sign in to comment.