From 174044ca560238635d6d52fef95094388b473b66 Mon Sep 17 00:00:00 2001 From: NeonKirill Date: Sun, 30 Jun 2024 14:21:28 +0200 Subject: [PATCH] fixed workflows --- .github/workflows/build_nano_assets.yml | 4 ++-- .github/workflows/unit_tests.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_nano_assets.yml b/.github/workflows/build_nano_assets.yml index d0368523..fc0f5199 100644 --- a/.github/workflows/build_nano_assets.yml +++ b/.github/workflows/build_nano_assets.yml @@ -26,10 +26,10 @@ jobs: python -m pip install jsbeautifier==1.15.1 - name: Build Nano JS working-directory: ./chat_client/static - run: python file_merger.py --weighted_dirs 1=['js'] --weighted_files 0=['nano_builder.js'] --skip_files meta.js klatchatNano.js --save_to js/klatchatNano.js --beautify 1 + run: python ../../scripts/file_merger.py --weighted_dirs 1=['js'] --weighted_files 0=['nano_builder.js'] --skip_files meta.js klatchatNano.js --save_to js/klatchatNano.js --beautify 1 - name: Build Nano CSS working-directory: ./chat_client/static - run: python file_merger.py --weighted_dirs 1=['css'] --skip_files sidebar.css klatchatNano.css --save_to css/klatchatNano.css --beautify 0 + run: python ../../scripts/file_merger.py --weighted_dirs 1=['css'] --skip_files sidebar.css klatchatNano.css --save_to css/klatchatNano.css --beautify 0 - name: Push Version Change uses: stefanzweifel/git-auto-commit-action@v5 with: diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 2d2ccb5d..f37e3d17 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -74,7 +74,7 @@ jobs: python -m pip install jsbeautifier==1.15.1 - name: Build Nano JS working-directory: ./chat_client/static - run: python file_merger.py --weighted_dirs 1=['js'] --weighted_files 0=['nano_builder.js'] --skip_files meta.js klatchatNano.js --save_to js/klatchatNano.js --beautify 1 + run: python ../../scripts/file_merger.py --weighted_dirs 1=['js'] --weighted_files 0=['nano_builder.js'] --skip_files meta.js klatchatNano.js --save_to js/klatchatNano.js --beautify 1 - name: Build Nano CSS working-directory: ./chat_client/static - run: python file_merger.py --weighted_dirs 1=['css'] --skip_files sidebar.css klatchatNano.css --save_to css/klatchatNano.css --beautify 0 + run: python ../../scripts/file_merger.py --weighted_dirs 1=['css'] --skip_files sidebar.css klatchatNano.css --save_to css/klatchatNano.css --beautify 0