Skip to content

Commit bfe00c1

Browse files
chore: update latest Mendix version to 11.6.0 in mendix-versions.json
chore: update download URL for test project to mx/11.6.x branch chore: update paths in workflows and action.yml for Mendix version 11.6.x chore: rename extracted folder in native bundle workflow and update paths to use new folder name chore: update workflows to include mx/11.6.x branch
1 parent a2b1486 commit bfe00c1

8 files changed

Lines changed: 26 additions & 18 deletions

File tree

.github/actions/create-native-bundle/action.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,23 @@ runs:
1616
apt install curl -y
1717
shell: bash
1818
- name: "Download test project"
19-
run: curl -L -o project.zip https://github.com/mendix/Native-Mobile-Resources/archive/refs/heads/main.zip
19+
run: curl -L -o project.zip https://github.com/mendix/Native-Mobile-Resources/archive/refs/heads/mx/11.6.x.zip
2020
shell: bash
2121
- name: "Extract test project"
2222
uses: montudor/action-zip@0852c26906e00f8a315c704958823928d8018b28 # v1.0.0
2323
with:
2424
args: unzip -qq project.zip
25+
- name: "Rename extracted folder"
26+
run: mv Native-Mobile-Resources-mx-11.6.x NMR
27+
shell: bash
2528
- name: "Extract deployment package"
2629
uses: montudor/action-zip@0852c26906e00f8a315c704958823928d8018b28 # v1.0.0
2730
with:
28-
args: unzip -qq ${{ inputs.mda-file }} -d Native-Mobile-Resources-main/deployment
31+
args: unzip -qq ${{ inputs.mda-file }} -d NMR/deployment
2932
- name: "Create bundle for ${{ inputs.platform }}"
3033
run: |
3134
mkdir -p ${{ inputs.platform }}/assets
32-
cd Native-Mobile-Resources-main/deployment/native && \
35+
cd NMR/deployment/native && \
3336
/tmp/mxbuild/modeler/tools/node/linux-x64/node \
3437
/tmp/mxbuild/modeler/tools/node/node_modules/react-native/cli.js \
3538
bundle --verbose --platform ${{ inputs.platform }} --dev false \

.github/workflows/Build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ on:
55
branches:
66
- main
77
- 'mx/release/**'
8+
- 'mx/11.6.x'
89
pull_request:
910
branches:
1011
- main
1112
- 'mx/release/**'
13+
- 'mx/11.6.x'
1214
jobs:
1315
test:
1416
name: "Build (${{ matrix.os }})"

.github/workflows/NativePipeline.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ on:
7575
pull_request:
7676
branches:
7777
- main
78+
- mx/11.6.x
7879

7980
# Use default name in case no input
8081
run-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:

.github/workflows/PublishDockerImage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Publishing docker images for mxbuild
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [main, mx/11.6.x]
66
paths:
77
- "configs/e2e/mendix-versions.json"
88

.github/workflows/Release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Run release
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [main, mx/11.6.x]
66
pull_request:
7-
branches: [main]
7+
branches: [main, mx/11.6.x]
88

99
jobs:
1010
test:

.github/workflows/ShaCheck.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: Ensure SHA pinned actions
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [main, mx/11.6.x]
66
paths:
77
- ".github/workflows/*.yml"
88
pull_request:
9-
branches: [main]
9+
branches: [main, mx/11.6.x]
1010
paths:
1111
- ".github/workflows/*.yml"
1212

.github/workflows/UnitTests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Run unit tests
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [main, mx/11.6.x]
66
pull_request:
7-
branches: [main]
7+
branches: [main, mx/11.6.x]
88

99
jobs:
1010
test:

configs/e2e/mendix-versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"latest": "11.3.0.80320"
2+
"latest": "11.6.0"
33
}

0 commit comments

Comments
 (0)