dev:修改工作流

This commit is contained in:
liubocheng 2025-03-26 13:55:47 +08:00
parent bb0e6faa69
commit cf95a429f7
1 changed files with 10 additions and 1 deletions

View File

@ -15,10 +15,19 @@ jobs:
ref: dev
# 拉取深度(节省时间与带宽)
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
run: |
apt-get install -y openssh-client rsync
apt-get update && apt-get install -y openssh-client rsync
- name: Configure SSH
env: