From 536dfa11a9530d08a83eac99bbf35a71f936e371 Mon Sep 17 00:00:00 2001 From: MxKevinBeqo Date: Fri, 24 Oct 2025 15:35:15 +0200 Subject: [PATCH] fix: pipeline fix when moving resources and actions --- .github/workflows/NativePipeline.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/NativePipeline.yml b/.github/workflows/NativePipeline.yml index 23cc6621a..c7f0db2f9 100644 --- a/.github/workflows/NativePipeline.yml +++ b/.github/workflows/NativePipeline.yml @@ -284,14 +284,16 @@ jobs: - name: "Move mobile-resources" shell: bash run: | - if compgen -G 'resources/jsActions/mobile-resources-native/*' > /dev/null; then - mv -f resources/jsActions/mobile-resources-native/* Native-Mobile-Resources-main/javascriptsource/nativemobileresources/actions/ + if compgen -G 'resources/jsActions/mobile-resources-native/dist/*' > /dev/null; then + rm -rf Native-Mobile-Resources-main/javascriptsource/nativemobileresources/actions/node_modules + mv -f resources/jsActions/mobile-resources-native/dist/* Native-Mobile-Resources-main/javascriptsource/nativemobileresources/actions/ fi - name: "Move nanoflow-actions" shell: bash run: | - if compgen -G 'resources/jsActions/mobile-resources-native/*' > /dev/null; then - mv -f resources/jsActions/nanoflow-actions-native/* Native-Mobile-Resources-main/javascriptsource/nanoflowcommons/actions/ + if compgen -G 'resources/jsActions/nanoflow-actions-native/dist/*' > /dev/null; then + rm -rf Native-Mobile-Resources-main/javascriptsource/nanoflowcommons/actions/node_modules + mv -f resources/jsActions/nanoflow-actions-native/dist/* Native-Mobile-Resources-main/javascriptsource/nanoflowcommons/actions/ fi - name: "Force rebuild test project" run: |