Skip to content

Commit ff138b0

Browse files
committed
ci: clone wtl directly
1 parent aefe840 commit ff138b0

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,7 @@ jobs:
3838
3939
- name: Download WTL and nlohmann/json
4040
run: |
41-
$ProgressPreference = 'SilentlyContinue'
42-
$headers = @{
43-
"User-Agent" = "Wget/1.21.1"
44-
"Accept" = "*/*"
45-
}
46-
Invoke-WebRequest `
47-
-Uri "https://sourceforge.net/projects/wtl/files/WTL%2010/WTL%2010.01%20Release/WTL10_01_Release.zip/download" `
48-
-Headers $headers `
49-
-OutFile "${{ runner.temp }}\wtl.zip"
50-
7z x "${{ runner.temp }}\wtl.zip" -o"lib\WTL" > nul
41+
git clone https://git.code.sf.net/p/wtl/git lib\WTL
5142
5243
New-Item -ItemType Directory -Force -Path "lib\nlohmann"
5344
(New-Object System.Net.WebClient).DownloadFile("https://github.com/nlohmann/json/releases/download/v3.12.0/json.hpp", "lib\nlohmann\json.hpp")

0 commit comments

Comments
 (0)