add dir Ruleset

This commit is contained in:
ElonJunior 2024-05-01 02:44:14 +08:00
parent 5fd57f77a2
commit be5e5415de
2 changed files with 3 additions and 3 deletions

View File

@ -11,6 +11,6 @@ jobs:
- name: Delete workflow runs - name: Delete workflow runs
uses: GitRML/delete-workflow-runs@main uses: GitRML/delete-workflow-runs@main
with: with:
token: ${{ secrets.AUTH_PAT }} token: ${{ secrets.GH_TOKEN }}
repository: ${{ github.repository }} repository: ${{ github.repository }}
retain_days: 7 retain_days: 7

View File

@ -30,11 +30,11 @@ jobs:
env: env:
NO_SKIP: true NO_SKIP: true
run: | run: |
mkdir -p ./sing-rule/ mkdir -p ./sing-rule/Ruleset
cp ./workflow/resouces/convert_* ./sing-rule/ cp ./workflow/resouces/convert_* ./sing-rule/
cd sing-rule || exit 1 cd sing-rule || exit 1
chmod 777 -R ../ACL4SSR/Clash
python convert_json.py ../ACL4SSR/Clash ./ python convert_json.py ../ACL4SSR/Clash ./
python convert_json.py ../ACL4SSR/Clash/Ruleset ./Ruleset
- name: Convert json to srs - name: Convert json to srs
env: env: