From e0d63b573505c5ee6c1ea8dd34154b4b46d5981b Mon Sep 17 00:00:00 2001 From: James Lamb Date: Mon, 14 Aug 2023 21:12:31 -0500 Subject: [PATCH] [ci] fix GPG key download for R Linux jobs (fixes #6038) (#6039) * [ci] fix GPG key download for R Linux jobs * force use of the new config file * empty commit --- .ci/test_r_package.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.ci/test_r_package.sh b/.ci/test_r_package.sh index fe435ce11..40a438e08 100755 --- a/.ci/test_r_package.sh +++ b/.ci/test_r_package.sh @@ -36,7 +36,10 @@ fi # # `devscripts` is required for 'checkbashisms' (https://github.com/r-lib/actions/issues/111) if [[ $OS_NAME == "linux" ]]; then + mkdir -p ~/.gnupg + echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf sudo apt-key adv \ + --homedir ~/.gnupg \ --keyserver keyserver.ubuntu.com \ --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 || exit -1 sudo add-apt-repository \