7575 pull_request :
7676 branches :
7777 - main
78+ - mx/11.6.x
7879
7980# Use default name in case no input
8081run-name : ${{ github.event.inputs.run_name || 'Run Native Pipeline' }}
@@ -262,11 +263,13 @@ jobs:
262263 apt update && apt upgrade -y
263264 apt install curl -y
264265 - name : " Download test project"
265- run : curl -L -o project.zip https://github.com/mendix/Native-Mobile-Resources/archive/refs/heads/main .zip
266+ run : curl -L -o project.zip https://github.com/mendix/Native-Mobile-Resources/archive/refs/heads/mx/11.6.x .zip
266267 - name : " Extract test project"
267268 uses : montudor/action-zip@0852c26906e00f8a315c704958823928d8018b28 # v1.0.0
268269 with :
269270 args : unzip -qq project.zip -d .
271+ - name : " Rename extracted folder"
272+ run : mv Native-Mobile-Resources-mx-11.6.x NMR
270273 - name : " Download resources artifact"
271274 uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
272275 with :
@@ -280,26 +283,26 @@ jobs:
280283 run : |
281284 if compgen -G 'resources/pluggableWidgets/**/dist/*/*.mpk' > /dev/null; then
282285 for oldPath in resources/pluggableWidgets/**/dist/*/*.mpk; do
283- newPath=Native-Mobile-Resources-main /widgets/$(basename $oldPath)
286+ newPath=NMR /widgets/$(basename $oldPath)
284287 mv -f $oldPath $newPath
285288 done
286- mx update-widgets --loose-version-check Native-Mobile-Resources-main /NativeComponentsTestProject.mpr
289+ mx update-widgets --loose-version-check NMR /NativeComponentsTestProject.mpr
287290 fi
288291 - name : " Move mobile-resources"
289292 shell : bash
290293 run : |
291294 if compgen -G 'resources/jsActions/mobile-resources-native/*' > /dev/null; then
292- mv -f resources/jsActions/mobile-resources-native/* Native-Mobile-Resources-main /javascriptsource/nativemobileresources/actions/
295+ mv -f resources/jsActions/mobile-resources-native/* NMR /javascriptsource/nativemobileresources/actions/
293296 fi
294297 - name : " Move nanoflow-actions"
295298 shell : bash
296299 run : |
297- if compgen -G 'resources/jsActions/mobile-resources -native/*' > /dev/null; then
298- mv -f resources/jsActions/nanoflow-actions-native/* Native-Mobile-Resources-main /javascriptsource/nanoflowcommons/actions/
300+ if compgen -G 'resources/jsActions/nanoflow-actions -native/*' > /dev/null; then
301+ mv -f resources/jsActions/nanoflow-actions-native/* NMR /javascriptsource/nanoflowcommons/actions/
299302 fi
300303 - name : " Force rebuild test project"
301304 run : |
302- mxbuild -o automation.mda --loose-version-check Native-Mobile-Resources-main /NativeComponentsTestProject.mpr
305+ mxbuild -o automation.mda --loose-version-check NMR /NativeComponentsTestProject.mpr
303306 - name : " Upload MDA"
304307 uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
305308 with :
0 commit comments