This commit is contained in:
parent
388ac0c53f
commit
4ce709790d
@ -31,6 +31,17 @@ jobs:
|
|||||||
echo "deb https://mirror.nju.edu.cn/ubuntu/ focal-updates main restricted universe multiverse" >> /etc/apt/sources.list
|
echo "deb https://mirror.nju.edu.cn/ubuntu/ focal-updates main restricted universe multiverse" >> /etc/apt/sources.list
|
||||||
echo "deb https://mirror.nju.edu.cn/ubuntu/ focal-backports main restricted universe multiverse" >> /etc/apt/sources.list
|
echo "deb https://mirror.nju.edu.cn/ubuntu/ focal-backports main restricted universe multiverse" >> /etc/apt/sources.list
|
||||||
echo "deb https://mirror.nju.edu.cn/ubuntu/ focal-security main restricted universe multiverse" >> /etc/apt/sources.list
|
echo "deb https://mirror.nju.edu.cn/ubuntu/ focal-security main restricted universe multiverse" >> /etc/apt/sources.list
|
||||||
|
|
||||||
|
- name: Add missing GPG keys for NJU mirror
|
||||||
|
run: |
|
||||||
|
# 添加公钥 3B4FE6ACC0B21F32
|
||||||
|
curl -fsSL https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3B4FE6ACC0B21F32 | sudo tee /etc/apt/trusted.gpg.d/nju-archive-key.asc
|
||||||
|
|
||||||
|
# 添加公钥 871920D1991BC93C
|
||||||
|
curl -fsSL https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C | sudo tee /etc/apt/trusted.gpg.d/nju-archive-key.asc
|
||||||
|
|
||||||
|
- name: Install gnupg
|
||||||
|
run: |
|
||||||
apt-get update --allow-unauthenticated --ignore-missing
|
apt-get update --allow-unauthenticated --ignore-missing
|
||||||
apt-get install --allow-unauthenticated -y gnupg
|
apt-get install --allow-unauthenticated -y gnupg
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user