From 94f92b76a581507856eac6210aca215b3a411f27 Mon Sep 17 00:00:00 2001 From: xxf098 Date: Mon, 21 Nov 2022 08:46:40 -0500 Subject: [PATCH] output as json --- .github/workflows/cron.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cron.yaml b/.github/workflows/cron.yaml index 0aa70bb..2656f3c 100644 --- a/.github/workflows/cron.yaml +++ b/.github/workflows/cron.yaml @@ -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 \ No newline at end of file + name: out.json + path: out.json \ No newline at end of file