From 77ad489e3c738c8c2df505498122967e333e831b Mon Sep 17 00:00:00 2001 From: snakem982 Date: Mon, 30 Sep 2024 23:03:19 +0800 Subject: [PATCH] update workflow --- .github/workflows/updateclash.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/updateclash.yaml b/.github/workflows/updateclash.yaml index 5355d0d..c6a18f7 100644 --- a/.github/workflows/updateclash.yaml +++ b/.github/workflows/updateclash.yaml @@ -25,8 +25,8 @@ jobs: - name: Update Clash 0 run: | - wget -O source/v2ray.txt ${{ secrets.V2RAY_API }} - wget -O source/clash-meta.yaml ${{ secrets.CLASH_API }} + curl -L ${{ secrets.V2RAY_API }} > source/v2ray.txt + curl -L ${{ secrets.CLASH_API }} > source/clash-meta.yaml rand=_$(date +%s%N | md5sum |cut -c 2-6)_ sed -i "s/${{ secrets.CLASH_REPLACE }}/$rand/g" source/clash-meta.yaml