From 24099c5bf5ad1dfe440bd25c54c4ce51b609c587 Mon Sep 17 00:00:00 2001 From: snakem982 Date: Mon, 2 Sep 2024 09:36:20 +0800 Subject: [PATCH] update workflow --- .github/workflows/updateclash.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/updateclash.yaml b/.github/workflows/updateclash.yaml index 1d15e14..d7b328a 100644 --- a/.github/workflows/updateclash.yaml +++ b/.github/workflows/updateclash.yaml @@ -25,7 +25,7 @@ jobs: - name: Update Clash run: | wget -O source/clash-meta.yaml ${{ secrets.CLASH_API }} - rand=$(date +%s%N | md5sum |cut -c 1-5) + rand=_$(date +%s%N | md5sum |cut -c 1-5)_ sed -i "s/${{ secrets.CLASH_REPLACE }}/$rand/g" source/clash-meta.yaml - name: Commit files