diff --git a/.github/workflows/download.yml b/.github/workflows/download.yml index 2cadcae8..01247428 100644 --- a/.github/workflows/download.yml +++ b/.github/workflows/download.yml @@ -37,6 +37,7 @@ jobs: with: name: artifact path: artifact + workflow_search: true - name: Test run: cat artifact/sha | grep $GITHUB_SHA download-branch: diff --git a/main.js b/main.js index e087aebf..6fe5d35e 100644 --- a/main.js +++ b/main.js @@ -38,7 +38,7 @@ async function main() { const skipUnpack = core.getBooleanInput("skip_unpack") const ifNoArtifactFound = core.getInput("if_no_artifact_found") let workflow = core.getInput("workflow") - let workflowSearch = core.getInput("workflow_search") + let workflowSearch = core.getBooleanInput("workflow_search") let workflowConclusion = core.getInput("workflow_conclusion") let pr = core.getInput("pr") let commit = core.getInput("commit")