From 5ccfad1471ed273200b7d8acb9dee8c57007a3a9 Mon Sep 17 00:00:00 2001 From: Nerivec <62446222+Nerivec@users.noreply.github.com> Date: Sun, 3 Nov 2024 02:17:04 +0100 Subject: [PATCH] Fix schedule-ran autodl, no input. --- .github/workflows/run_autodl.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run_autodl.yml b/.github/workflows/run_autodl.yml index 97e23aa..b64eb44 100644 --- a/.github/workflows/run_autodl.yml +++ b/.github/workflows/run_autodl.yml @@ -49,8 +49,8 @@ jobs: uses: actions/github-script@v7 env: NODE_EXTRA_CA_CERTS: cacerts.pem - PREV: ${{ fromJSON(inputs.prev) && '1' || '' }} - IGNORE_CACHE: ${{ fromJSON(inputs.ignore_cache) && '1' || '' }} + PREV: ${{ inputs.prev == 'true' && '1' || '' }} + IGNORE_CACHE: ${{ inputs.ignore_cache == 'true' && '1' || '' }} with: script: | const {runAutodl} = await import("${{ github.workspace }}/dist/ghw_run_autodl.js")