ci.yml: robocops added to keep cached files immutable

This commit is contained in:
Nicolas Kruse 2025-06-09 20:09:50 +02:00 committed by GitHub
parent 86448a6356
commit 1ea75c5276
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 3 deletions

View File

@ -112,13 +112,14 @@ jobs:
Invoke-WebRequest https://www.nonan.net/w/files/miktex-portable-Win-x64.zip -OutFile miktex-portable-Win-x64.zip 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 . 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: | run: |
dir ".\miktex-portable\texmfs\install\miktex\bin\x64\*" robocopy miktex-portable miktex-run /E
dir ".\miktex-run\texmfs\install\miktex\bin\x64\*"
- name: Add miktex to PATH - name: Add miktex to PATH
run: | run: |
echo "PATH=$PATH;$(pwd)\miktex-portable\texmfs\install\miktex\bin\x64" | Out-File -FilePath $env:GITHUB_ENV -Append echo "PATH=$PATH;$(pwd)\miktex-run\texmfs\install\miktex\bin\x64" | Out-File -FilePath $env:GITHUB_ENV -Append
- name: Show path variable - name: Show path variable
run: | run: |