ci(updateR2): 修改rclone的安装方式为deb包安装

替代原有的官方脚本安装方式,提升安装的稳定性与可控性。
This commit is contained in:
DMB-codegang-Mac
2026-07-04 14:01:48 +08:00
parent 46e2df9675
commit b20ab1a729
+2 -1
View File
@@ -53,7 +53,8 @@ jobs:
- name: Setup Rclone
if: github.event.inputs.release_type == 'client' || github.event.inputs.release_type == 'both'
run: |
curl https://rclone.org/install.sh | sudo bash
curl -O https://downloads.rclone.org/rclone-current-linux-amd64.deb
sudo dpkg -i rclone-current-linux-amd64.deb
mkdir -p ~/.config/rclone
echo "${{ secrets.RCLONE_CONFIG }}" | base64 -d > ~/.config/rclone/rclone.conf