Skip to content

Commit

Permalink
[R-package] [ci] Fix MiKTeX downloads (fixes #3198) (#3199)
Browse files Browse the repository at this point in the history
* [R-package] [ci] Fix MiKTeX downloads (fixes #3198)

* use v2
  • Loading branch information
jameslamb authored Jul 1, 2020
1 parent 9f367d1 commit 314b9d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/test_r_package_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function Download-Miktex-Setup {
[string]$destfile
)
$PageContent = Invoke-WebRequest -Uri $archive -Method Get
$SetupExeFile = $PageContent.Links.href | Select-String -Pattern 'miktexsetup.*'
$SetupExeFile = $PageContent.Links.href | Select-String -Pattern 'miktexsetup-2.*'
$FileToDownload = "${archive}/${SetupExeFile}"
Download-File-With-Retries $FileToDownload $destfile
}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ R-package/src-i386
lightgbm_r/*
lightgbm*.tar.gz
lightgbm.Rcheck/
miktex*.zip
*.def

# Files created by R examples and tests
Expand Down

0 comments on commit 314b9d2

Please sign in to comment.