Skip to content

Commit f24aaa4

Browse files
Fix/fixed build in pipline (#30567)
Co-authored-by: Alex Lavrov <[email protected]>
1 parent 7c9ce69 commit f24aaa4

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/demos_visual_tests_frameworks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: DevExtreme - Build-all
4444
env:
4545
BUILD_TEST_INTERNAL_PACKAGE: true
46-
run: npm run all:build
46+
run: npm run all:build-dev
4747

4848
- name: Move packages
4949
run: |

tools/scripts/build-all.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const packAndCopy = (outputDir: string) => {
2222

2323
const injectDescriptions = () => {
2424
sh.pushd(ROOT_DIR);
25-
// Inject descriptions
25+
2626
const DOCUMENTATION_TEMP_DIR = path.join(ARTIFACTS_DIR, 'doc_tmp');
2727
sh.exec(`git clone -b ${MAJOR_VERSION} --depth 1 --config core.longpaths=true https://github.com/DevExpress/devextreme-documentation.git ${DOCUMENTATION_TEMP_DIR}`);
2828

@@ -40,12 +40,13 @@ const injectDescriptions = () => {
4040
const monorepoVersion = sh.exec('npm pkg get version', { silent: true }).stdout.replaceAll('"', '');
4141
const MAJOR_VERSION = monorepoVersion.split('.').slice(0, 2).join('_');
4242

43-
// Prepare metadata
4443
sh.cd(ROOT_DIR);
45-
sh.exec('npm run tools:discover-declarations');
46-
sh.exec(`npm run tools -- make-aspnet-metadata --version ${MAJOR_VERSION}`);
4744

4845
if (!devMode) {
46+
sh.exec('npm run tools:discover-declarations');
47+
// aspnet metadata will be used in Build custom-tasks to inject aspnet descriptions
48+
sh.exec(`npm run tools make-aspnet-metadata --version ${MAJOR_VERSION}`);
49+
4950
injectDescriptions();
5051
}
5152

0 commit comments

Comments
 (0)