This commit is contained in:
parent
7899a09d6d
commit
c481b515f8
@ -19,10 +19,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cat /proc/version
|
cat /proc/version
|
||||||
|
|
||||||
#- name: Install gnupg
|
- name: Install curl
|
||||||
#run: |
|
run: |
|
||||||
#apt update
|
apt update
|
||||||
#apt install -y gnupg
|
apt install -y curl
|
||||||
|
|
||||||
- name: Change Download URL to NJU Mirror
|
- name: Change Download URL to NJU Mirror
|
||||||
run: |
|
run: |
|
||||||
@ -34,11 +34,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Add missing GPG keys for NJU mirror
|
- name: Add missing GPG keys for NJU mirror
|
||||||
run: |
|
run: |
|
||||||
# 使用 wget 下载并添加公钥 3B4FE6ACC0B21F32
|
# 添加公钥 3B4FE6ACC0B21F32
|
||||||
wget -qO - https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3B4FE6ACC0B21F32 | sudo tee /etc/apt/trusted.gpg.d/nju-archive-key.asc
|
curl -fsSL https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3B4FE6ACC0B21F32 | tee /etc/apt/trusted.gpg.d/nju-archive-key.asc
|
||||||
|
|
||||||
# 使用 wget 下载并添加公钥 871920D1991BC93C
|
# 添加公钥 871920D1991BC93C
|
||||||
wget -qO - https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C | sudo tee /etc/apt/trusted.gpg.d/nju-archive-key.asc
|
curl -fsSL https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C | tee /etc/apt/trusted.gpg.d/nju-archive-key.asc
|
||||||
|
|
||||||
- name: Install gnupg
|
- name: Install gnupg
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user