dev:修改工作流
This commit is contained in:
parent
bb0e6faa69
commit
cf95a429f7
|
@ -15,10 +15,19 @@ jobs:
|
||||||
ref: dev
|
ref: dev
|
||||||
# 拉取深度(节省时间与带宽)
|
# 拉取深度(节省时间与带宽)
|
||||||
fetch-depth: 0 # 0 表示拉取完整的历史
|
fetch-depth: 0 # 0 表示拉取完整的历史
|
||||||
|
- name: Replace Debian APT sources
|
||||||
|
run: |
|
||||||
|
tee /etc/apt/sources.list <<EOF
|
||||||
|
# 清华大学 Debian 11 Bullseye 镜像
|
||||||
|
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
|
||||||
|
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free
|
||||||
|
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free
|
||||||
|
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free
|
||||||
|
EOF
|
||||||
|
|
||||||
- name: Install SSH tools
|
- name: Install SSH tools
|
||||||
run: |
|
run: |
|
||||||
apt-get install -y openssh-client rsync
|
apt-get update && apt-get install -y openssh-client rsync
|
||||||
|
|
||||||
- name: Configure SSH
|
- name: Configure SSH
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in New Issue