更新 .gitea/workflows/app_update.yml
This commit is contained in:
@@ -60,6 +60,14 @@ jobs:
|
||||
mv tmp/x86_64/ssserver app/
|
||||
mv tmp/x86_64/sslocal app/
|
||||
|
||||
- name: 下载并解压ImageGlass
|
||||
run: |
|
||||
IG_VERSION=$(curl -s "https://api.github.com/repos/d2phap/ImageGlass/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
|
||||
IG_URL="https://github.com/d2phap/ImageGlass/releases/latest/download/ImageGlass_${IG_VERSION}_x64.msi"
|
||||
|
||||
echo "下载版本: ${IG_VERSION}"
|
||||
curl -L "${IG_URL}" -o "app/ImageGlass_x64.msi" --fail --silent --show-error
|
||||
|
||||
- name: 下载并解压Frp
|
||||
run: |
|
||||
FRP_VERSION=$(curl -s "https://api.github.com/repos/fatedier/frp/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
|
||||
|
||||
Reference in New Issue
Block a user