Commit 7ad81a42a27312a8156093e5c6fa5a6abbd604fb

Edward Thomson 2021-05-04T12:23:17

ci: use GitHub for storing mingw-w64 build dependency

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/ci/setup-mingw.sh b/ci/setup-mingw.sh
index d500da0..f5a882d 100755
--- a/ci/setup-mingw.sh
+++ b/ci/setup-mingw.sh
@@ -9,9 +9,9 @@ BUILD_TEMP=$(cygpath $BUILD_TEMP)
 
 case "$ARCH" in
 	amd64)
-		MINGW_URI="https://bintray.com/libgit2/build-dependencies/download_file?file_path=mingw-w64-x86_64-8.1.0-release-win32-seh-rt_v6-rev0.zip";;
+		MINGW_URI="https://github.com/libgit2/ci-dependencies/releases/download/2021-05-04/mingw-x86_64-8.1.0-release-win32-sjlj-rt_v6-rev0.zip";;
 	x86)
-		MINGW_URI="https://bintray.com/libgit2/build-dependencies/download_file?file_path=mingw-w64-i686-8.1.0-release-win32-sjlj-rt_v6-rev0.zip";;
+		MINGW_URI="https://github.com/libgit2/ci-dependencies/releases/download/2021-05-04/mingw-i686-8.1.0-release-win32-sjlj-rt_v6-rev0.zip";;
 esac
 
 if [ -z "$MINGW_URI" ]; then