@@ -116,27 +116,30 @@ private ITask<NPath> BuildDetermineGitPathTask()
116
116
var gitArchivePath = zipArchivesPath . Combine ( "git.zip" ) ;
117
117
var gitLfsArchivePath = zipArchivesPath . Combine ( "git-lfs.zip" ) ;
118
118
119
- var downloadGitMd5Task = new DownloadTextTask ( CancellationToken ,
120
- "https://github-vs-s3.amazonaws .com/github-vs/ unity/portable_git/git.zip.MD5" ) ;
119
+ var downloadGitMd5Task = new DownloadTextTask ( CancellationToken . None ,
120
+ "https://ghfvs-installer.github .com/unity/portable_git/git.zip.MD5.txt?cb=1 " ) ;
121
121
122
- var downloadGitTask = new DownloadTask ( CancellationToken , Environment . FileSystem ,
123
- "https://github-vs-s3.amazonaws .com/github-vs /unity/portable_git/git.zip" , gitArchivePath , retryCount : 1 ) ;
122
+ var downloadGitTask = new DownloadTask ( CancellationToken . None , Environment . FileSystem ,
123
+ "https://ghfvs-installer.github .com/unity/portable_git/git.zip" , gitArchivePath , retryCount : 1 ) ;
124
124
125
- downloadGitTask = downloadGitMd5Task
126
- . Then ( ( b , s ) => { downloadGitTask . ValidationHash = s ; } )
127
- . Then ( downloadGitTask ) ;
125
+ var downloadGitLfsMd5Task = new DownloadTextTask ( CancellationToken . None ,
126
+ "https://ghfvs-installer.github.com/unity/portable_git/git-lfs.zip.MD5.txt?cb=1" ) ;
128
127
129
- var downloadGitLfsMd5Task = new DownloadTextTask ( CancellationToken ,
130
- "https://github-vs-s3.amazonaws .com/github-vs/ unity/portable_git/git-lfs.zip.MD5" ) ;
128
+ var downloadGitLfsTask = new DownloadTask ( CancellationToken . None , Environment . FileSystem ,
129
+ "https://ghfvs-installer.github .com/unity/portable_git/git-lfs.zip" , gitLfsArchivePath , retryCount : 1 ) ;
131
130
132
- var downloadGitLfsTask = new DownloadTask ( CancellationToken , Environment . FileSystem ,
133
- "https://github-vs-s3.amazonaws.com/github-vs/unity/portable_git/git-lfs.zip" , gitLfsArchivePath ) ;
134
-
135
- downloadGitLfsTask = downloadGitLfsMd5Task . Then ( ( b , s ) => {
136
- downloadGitLfsTask . ValidationHash = s ;
137
- } ) . Then ( downloadGitLfsTask ) ;
138
-
139
- var installTask = downloadGitTask . Then ( downloadGitLfsTask )
131
+ var installTask = downloadGitMd5Task
132
+ . Then ( ( b , s ) =>
133
+ {
134
+ downloadGitTask . ValidationHash = s ;
135
+ } )
136
+ . Then ( downloadGitTask )
137
+ . Then ( downloadGitLfsMd5Task )
138
+ . Then ( ( b , s ) =>
139
+ {
140
+ downloadGitLfsTask . ValidationHash = s ;
141
+ } )
142
+ . Then ( downloadGitLfsTask )
140
143
. Then ( new PortableGitInstallTask ( CancellationToken , Environment , gitArchivePath , gitLfsArchivePath , installDetails ) ) ;
141
144
142
145
determinePath = determinePath
0 commit comments