1 Star 6 Fork 3

Rick / http-downloader

加入 Gitee
与超过 800 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
action.yml 555 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
rick 提交于 2022-08-25 12:42 . Support to install hd via js
name: setup-hd
description: Setup hd, on GitHub Actions runners
inputs:
version:
description: Version of hd CLI to install
required: false
default: 0.0.69
runs:
using: composite
steps:
# We verify the version against a SHA **in the published action itself**, not in the GCS bucket.
- shell: bash
run: |
#!/bin/bash
curl -L https://github.com/LinuxSuRen/http-downloader/releases/download/v${{ inputs.version }}/hd-linux-amd64.tar.gz | tar xzv hd
sudo mv hd /usr/bin/hd
hd fetch
Go
1
https://gitee.com/linuxsuren/http-downloader.git
git@gitee.com:linuxsuren/http-downloader.git
linuxsuren
http-downloader
http-downloader
master

搜索帮助