This commit is contained in:
Nicolas Kruse 2025-06-09 19:12:30 +00:00 committed by GitHub
commit 5d0d1580e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 11 deletions

View File

@ -100,30 +100,26 @@ jobs:
- name: Cache MiKTeX Portable
uses: actions/cache@v4
id: miktex
with:
path: miktex-portable
key: miktex-portable-${{ runner.os }}-24.1-x64
- name: Set up MiKTeX Portable
if: steps.cache.outputs.cache-hit != 'true'
if: steps.miktex.outputs.cache-hit != 'true'
run: |
$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest https://www.nonan.net/w/files/miktex-portable-Win-x64.zip -OutFile miktex-portable-Win-x64.zip
Expand-Archive miktex-portable-Win-x64.zip -DestinationPath .
- name: Check directory structure of MiKTeX installation
- name: Copy and check directory structure of MiKTeX installation
run: |
dir ".\miktex-portable\texmfs\install\miktex\bin\x64\*"
robocopy miktex-portable C:\tmp\test_miktex\miktex-portable /E /NFL /NDL
if ($LASTEXITCODE -eq 1) { exit 0 }
- name: Add miktex to PATH
run: |
echo "PATH=$PATH;$(pwd)\miktex-portable\miktex\bin\x64" | Out-File -FilePath $env:GITHUB_ENV -Append
- name: Show path variable
run: |
echo $env:PATH
echo "-----"
echo $env:GITHUB_ENV
echo "PATH=$PATH;C:\tmp\test_miktex\miktex-portable\texmfs\install\miktex\bin\x64" | Out-File -FilePath $env:GITHUB_ENV -Append
- name: test xelatex
run: xelatex --version
@ -140,4 +136,4 @@ jobs:
if: strategy.job-index == 0
with:
name: rendering-results-windows
path: tests/out/test_*_render*.pdf
path: tests/out/test_*_render*.pdf