Skip to content

Commit 8f5097a

Browse files
committed
github: don't use git protocol
1 parent 99a16be commit 8f5097a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/install-openblas.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ mkdir -p ${CACHE_DIR}
88
# check if cache exists
99
if [ -e ${CACHE_DIR}/last_commit_id ]; then
1010
echo "Cache $CACHE_DIR hit"
11-
LAST_COMMIT="$(git ls-remote git://github.com/xianyi/OpenBLAS HEAD | grep -o '^\S*')"
11+
LAST_COMMIT="$(git ls-remote https://github.com/xianyi/OpenBLAS HEAD | grep -o '^\S*')"
1212
CACHED_COMMIT="$(cat ${CACHE_DIR}/last_commit_id)"
1313
# determine current OpenBLAS master commit id and compare
1414
# with commit id in cache directory
@@ -25,7 +25,7 @@ if [ ! -e ${CACHE_DIR}/last_commit_id ]; then
2525

2626
# cache generation
2727
echo "Building cache at $CACHE_DIR"
28-
git clone --depth=1 git://github.com/xianyi/OpenBLAS
28+
git clone --depth=1 https://github.com/xianyi/OpenBLAS
2929

3030
pushd OpenBLAS
3131
make FC=gfortran &> /dev/null && make PREFIX=${CACHE_DIR} install

0 commit comments

Comments
 (0)