From 5cbdcb41b00de4e1b507ba547d39f7971940ebf3 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Mon, 28 Aug 2023 20:14:15 +0800 Subject: [PATCH] fix(workflows): NOCODB_SDK_PKG_NAME & NOCODB_GUI_PKG_NAME --- .github/workflows/release-docker.yml | 6 +++--- .github/workflows/release-npm.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-docker.yml b/.github/workflows/release-docker.yml index 5830f94038..652b5ff45d 100644 --- a/.github/workflows/release-docker.yml +++ b/.github/workflows/release-docker.yml @@ -97,11 +97,11 @@ jobs: 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_PKG_NAME }} install --ignore-scripts --no-frozen-lockfile && pnpm --filter=${{ NOCODB_SDK_PKG_NAME }} 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=${{ 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 && + 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 diff --git a/.github/workflows/release-npm.yml b/.github/workflows/release-npm.yml index 758ad2b78e..ae2700047e 100644 --- a/.github/workflows/release-npm.yml +++ b/.github/workflows/release-npm.yml @@ -61,12 +61,12 @@ jobs: 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_PKG_NAME }} install --ignore-scripts --no-frozen-lockfile && pnpm --filter=${{ NOCODB_SDK_PKG_NAME }} run build && pnpm --filter=${{ NOCODB_SDK_PKG_NAME }} publish --no-git-checks && + pnpm --filter=${NOCODB_SDK_PKG_NAME} install --ignore-scripts --no-frozen-lockfile && pnpm --filter=${NOCODB_SDK_PKG_NAME} run build && pnpm --filter=${NOCODB_SDK_PKG_NAME} publish --no-git-checks && sleep 90 && 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=${{ 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:publish --no-git-checks && + 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:publish --no-git-checks && sleep 90 && targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} node scripts/upgradeNcGui.js && cd packages/nocodb && pnpm run obfuscate:build:publish --no-git-checks env: