From fdef9a0bc8a7cc025f4f4b0b336980e21f172d80 Mon Sep 17 00:00:00 2001 From: kukkok3 <93382903+kukkok3@users.noreply.github.com> Date: Thu, 16 Jan 2025 11:57:18 +0100 Subject: [PATCH] fix: condition --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bec0d1dc..d633e518 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,8 +20,8 @@ on: nightly: description: Runs nightly targets required: false - type: string - default: "false" + type: boolean + default: false secrets: earthly_token: description: Optional Earthly token used to login to Earthly cloud during local builds of Forge CLI @@ -136,7 +136,7 @@ jobs: nightly: uses: input-output-hk/catalyst-forge/.github/workflows/run.yml@master needs: [discover, check, build, package] - if: (fromJson(needs.discover.outputs.earthfiles)['^nightly(-.*)?$'] != null) && !failure() && !cancelled() && ${{ inputs.nightly == 'true' }} + if: (fromJson(needs.discover.outputs.earthfiles)['^nightly(-.*)?$'] != null) && !failure() && !cancelled() && inputs.nightly == true with: earthfiles: ${{ toJson(fromJson(needs.discover.outputs.earthfiles)['^nightly(-.*)?$']) }} forge_version: ${{ inputs.forge_version }}