Skip to content

Commit 91674c8

Browse files
authored
Merge pull request #802 from borglab/fix/llvm-gpg-key
2 parents aec2cf0 + 04621b0 commit 91674c8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/build-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
# 15CF4D18AF4F7421 is the GPG key for the LLVM apt repository
5858
# This key is not in the keystore by default for Ubuntu so we need to add it.
5959
LLVM_KEY=15CF4D18AF4F7421
60-
gpg --keyserver ipv4.pool.sks-keyservers.net --recv-key $LLVM_KEY || gpg --keyserver ha.pool.sks-keyservers.net --recv-key $LLVM_KEY
60+
gpg --keyserver keyserver.ubuntu.com --recv-key $LLVM_KEY || gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-key $LLVM_KEY
6161
gpg -a --export $LLVM_KEY | sudo apt-key add -
6262
sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main"
6363
fi

.github/workflows/build-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
# 15CF4D18AF4F7421 is the GPG key for the LLVM apt repository
7878
# This key is not in the keystore by default for Ubuntu so we need to add it.
7979
LLVM_KEY=15CF4D18AF4F7421
80-
gpg --keyserver ipv4.pool.sks-keyservers.net --recv-key $LLVM_KEY || gpg --keyserver ha.pool.sks-keyservers.net --recv-key $LLVM_KEY
80+
gpg --keyserver keyserver.ubuntu.com --recv-key $LLVM_KEY || gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-key $LLVM_KEY
8181
gpg -a --export $LLVM_KEY | sudo apt-key add -
8282
sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main"
8383
fi

.github/workflows/build-special.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
run: |
6565
# LLVM 9 is not in Bionic's repositories so we add the official LLVM repository.
6666
if [ "${{ matrix.compiler }}" = "clang" ] && [ "${{ matrix.version }}" = "9" ]; then
67-
gpg --keyserver pool.sks-keyservers.net --recv-key 15CF4D18AF4F7421
67+
gpg --keyserver keyserver.ubuntu.com --recv-key $LLVM_KEY || gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-key $LLVM_KEY
6868
gpg -a --export 15CF4D18AF4F7421 | sudo apt-key add -
6969
sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main"
7070
fi

0 commit comments

Comments
 (0)