From 56e1c8bfdd57600e79c0b17de1d2fd933d20b8f9 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Tue, 18 Jun 2024 16:58:54 +0100 Subject: [PATCH] [LOCAL] Fix input types for create-release --- .github/actions/create-release/action.yml | 25 ++++++++++------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/.github/actions/create-release/action.yml b/.github/actions/create-release/action.yml index 1fdbef8663a..b9fee415ca8 100644 --- a/.github/actions/create-release/action.yml +++ b/.github/actions/create-release/action.yml @@ -1,19 +1,16 @@ name: create_release description: Creates a new React Native release inputs: - version: - description: 'The version of React Native we want to release. For example 0.75.0-rc.0' - required: true - type: string - is_latest_on_npm: - description: 'Whether we want to tag this release as latest on NPM' - required: true - type: boolean - default: false - dry_run: - description: 'Whether the job should be executed in dry-run mode or not' - type: boolean - default: false + version: + description: "The version of React Native we want to release. For example 0.75.0-rc.0" + required: true + is_latest_on_npm: + description: "Whether we want to tag this release as latest on NPM" + required: true + default: "false" + dry_run: + description: "Whether the job should be executed in dry-run mode or not" + default: "false" runs: using: composite steps: @@ -42,7 +39,7 @@ runs: git tag -a "latest" -m "latest" - name: Pushing release commit shell: bash - if: ${{ inputs.dry_run == false }} + if: ${{ inputs.dry_run == "false" }} run: | CURR_BRANCH="$(git branch --show-current)" git push origin "$CURR_BRANCH" --follow-tags