Browse Source

refactor(workflows): remove unnecessary if statement

pull/6659/head
աɨռɢӄաօռɢ 9 months ago
parent
commit
52f0d7849e
  1. 5
      .github/workflows/release-docker.yml

5
.github/workflows/release-docker.yml

@ -90,10 +90,7 @@ jobs:
if: ${{ github.event.inputs.targetEnv == 'DEV' || inputs.targetEnv == 'DEV' }}
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
NOCODB_SDK_PKG_NAME=nocodb-sdk-daily
fi
NOCODB_SDK_PKG_NAME=nocodb-sdk-daily
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} node scripts/bumpNocodbSdkVersion.js &&
pnpm --filter=${NOCODB_SDK_PKG_NAME} install --ignore-scripts --no-frozen-lockfile && pnpm --filter=${NOCODB_SDK_PKG_NAME} run build &&
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} node scripts/upgradeNocodbSdk.js &&

Loading…
Cancel
Save