Fix schedule-ran autodl, no input.

This commit is contained in:
Nerivec
2024-11-03 02:17:04 +01:00
parent b41af97198
commit 5ccfad1471

View File

@@ -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")