From dec5cf9a3a77827b59dad2478feb3d20437e15cb Mon Sep 17 00:00:00 2001 From: mertmit Date: Wed, 11 Oct 2023 17:49:58 +0530 Subject: [PATCH] chore: action logic Signed-off-by: mertmit --- .github/workflows/release-docker.yml | 2 +- .github/workflows/release-npm.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-docker.yml b/.github/workflows/release-docker.yml index efac03f6ff..5a213d285a 100644 --- a/.github/workflows/release-docker.yml +++ b/.github/workflows/release-docker.yml @@ -91,7 +91,7 @@ jobs: run: | export NODE_OPTIONS="--max_old_space_size=16384" NOCODB_SDK_PKG_NAME=nocodb-sdk - if [[ "${{ github.event.inputs.targetEnv == 'DEV' || inputs.targetEnv == 'DEV' }}" ]]; then + if [[ ${{ github.event.inputs.targetEnv || inputs.targetEnv }} == "DEV" ]]; then NOCODB_SDK_PKG_NAME=nocodb-sdk-daily fi targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} node scripts/bumpNocodbSdkVersion.js && diff --git a/.github/workflows/release-npm.yml b/.github/workflows/release-npm.yml index 0af45d3c3f..4021730f40 100644 --- a/.github/workflows/release-npm.yml +++ b/.github/workflows/release-npm.yml @@ -55,7 +55,7 @@ jobs: - run: | export NODE_OPTIONS="--max_old_space_size=16384" NOCODB_SDK_PKG_NAME=nocodb-sdk - if [[ ${{ github.event.inputs.targetEnv == 'DEV' || inputs.targetEnv == 'DEV' }} ]]; then + if [[ ${{ github.event.inputs.targetEnv || inputs.targetEnv }} == "DEV" ]]; then NOCODB_SDK_PKG_NAME=nocodb-sdk-daily fi echo $NOCODB_SDK_PKG_NAME