ci(updateR2): 修改rclone的安装方式为deb包安装
替代原有的官方脚本安装方式,提升安装的稳定性与可控性。
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user