We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea6be3a commit f889c90Copy full SHA for f889c90
1 file changed
.github/workflows/ci.yml
@@ -38,7 +38,11 @@ jobs:
38
39
- name: Download WTL and nlohmann/json
40
run: |
41
- (New-Object System.Net.WebClient).DownloadFile("https://downloads.sourceforge.net/project/wtl/WTL%2010/WTL%2010.01%20Release/WTL10_01_Release.zip", "${{ runner.temp }}\wtl.zip")
+ $wc = New-Object System.Net.WebClient
42
+ $wc.Headers.Add("User-Agent", "Wget/1.21.1")
43
+ $wc.Headers.Add("Accept", "*/*")
44
+ $wc.Headers.Add("Connection", "keep-alive")
45
+ $wc.DownloadFile("https://downloads.sourceforge.net/project/wtl/WTL%2010/WTL%2010.01%20Release/WTL10_01_Release.zip", "${{ runner.temp }}\wtl.zip")
46
7z x "${{ runner.temp }}\wtl.zip" -o"lib\WTL" > nul
47
48
New-Item -ItemType Directory -Force -Path "lib\nlohmann"
0 commit comments