Skip to content

Commit

Permalink
output as json
Browse files Browse the repository at this point in the history
  • Loading branch information
xxf098 committed Nov 21, 2022
1 parent f265b31 commit 94f92b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ jobs:
- name: test link
run: |
echo '{"group": "cronjob", "speedtestMode": "all", "pingMethod": "googleping", "sortMethod": "rspeed", "concurrency": 2, "testMode": 2, "subscription": "https://raw.githubusercontent.com/freefq/free/master/v2", "timeout": 16, "language": "en", "fontSize": 24, "theme": "rainbow", "generatePicMode": 1}' > config.json
echo '{"group": "cronjob", "speedtestMode": "all", "pingMethod": "googleping", "sortMethod": "rspeed", "concurrency": 2, "testMode": 2, "subscription": "https://raw.githubusercontent.com/freefq/free/master/v2", "timeout": 16, "language": "en", "fontSize": 24, "theme": "rainbow", "generatePicMode": 3}' > config.json
./lite --config config.json --test https://raw.githubusercontent.com/freefq/free/master/v2
ls
- name: Upload ZIP file to Artifacts
uses: actions/upload-artifact@v2
with:
name: out.png
path: out.png
name: out.json
path: out.json

0 comments on commit 94f92b7

Please sign in to comment.