From 415815bc1fb10211181b69720701f16b2b4b370d Mon Sep 17 00:00:00 2001 From: Deyan Ginev Date: Sun, 2 Jul 2023 17:49:48 -0400 Subject: [PATCH] migrate to win CI with full choco commands --- .github/workflows/windows.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index ac153d586..ae1fce64e 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -61,8 +61,8 @@ jobs: # GitHub's CI environment comes with a preinstalled version of Strawberry Perl. # So first uninstall that one, then pick the version we want. run: | - cuninst -y strawberryperl - cinst -y strawberryperl --version ${{ matrix.perl }} + choco uninstall -y strawberryperl + choco install -y strawberryperl --version ${{ matrix.perl }} # ==================== # Setup MiKTeX @@ -89,7 +89,7 @@ jobs: - name: Install & Configure MiKTeX if: matrix.miktex != 'none' run: | - cinst -y miktex --version ${{ matrix.miktex }} --params '"/Set:complete /RepoPath:""C:\miktex-repo"" /Mirror:https://mirrors.rit.edu/CTAN/systems/win32/miktex/tm/packages/"' + choco install -y miktex --version ${{ matrix.miktex }} --params '"/Set:complete /RepoPath:""C:\miktex-repo"" /Mirror:https://mirrors.rit.edu/CTAN/systems/win32/miktex/tm/packages/"' echo "C:\Program Files\MiKTeX/miktex/bin/x64/" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append Invoke-WebRequest -Uri "https://github.com/tkw1536/execsilent/releases/download/v0.0.2/execsilent-windows-amd64.exe" -OutFile C:\execsilent.exe