Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
314b9d24
Unverified
Commit
314b9d24
authored
Jul 01, 2020
by
James Lamb
Committed by
GitHub
Jul 01, 2020
Browse files
[R-package] [ci] Fix MiKTeX downloads (fixes #3198) (#3199)
* [R-package] [ci] Fix MiKTeX downloads (fixes #3198) * use v2
parent
9f367d11
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
.ci/test_r_package_windows.ps1
.ci/test_r_package_windows.ps1
+1
-1
.gitignore
.gitignore
+1
-0
No files found.
.ci/test_r_package_windows.ps1
View file @
314b9d24
...
...
@@ -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
}
...
...
.gitignore
View file @
314b9d24
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment