fix(workflows): incorrect filter name

This commit is contained in:
Wing-Kam Wong
2023-08-28 19:47:52 +08:00
parent 588bae9b97
commit b0426b376b
2 changed files with 18 additions and 6 deletions

View File

@@ -90,12 +90,18 @@ 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
NOCODB_GUI_PKG_NAME=nc-gui
if [[ "${{ github.event.inputs.targetEnv == 'DEV' || inputs.targetEnv == 'DEV' }}" ]]; then
NOCODB_SDK_PKG_NAME=nocodb-sdk-daily
NOCODB_GUI_PKG_NAME=nc-gui-daily
fi
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} node scripts/bumpNocodbSdkVersion.js &&
pnpm --filter=nocodb-sdk install --ignore-scripts --no-frozen-lockfile && pnpm --filter=nocodb-sdk run build &&
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 &&
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} node scripts/bumpNcGuiVersion.js &&
pnpm --filter=nc-gui install --ignore-scripts --no-frozen-lockfile &&
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} pnpm --filter=nc-gui run build:copy &&
pnpm --filter=${{ NOCODB_GUI_PKG_NAME }} install --ignore-scripts --no-frozen-lockfile &&
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} pnpm --filter=${{ NOCODB_GUI_PKG_NAME }} run build:copy &&
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} node scripts/upgradeNcGui.js
- name: Build nocodb and docker files