@@ -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"
22- uses : montudor/action-zip@v1.0.0
22+ 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"
26- uses : montudor/action-zip@v1.0.0
29+ 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 \
4144 env :
4245 NODE_OPTIONS : --max_old_space_size=6144
4346 - name : " Upload bundle for ${{ inputs.platform }}"
44- uses : actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
47+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
4548 with :
4649 name : ${{ inputs.platform }}-bundle
4750 path : ${{ inputs.platform }}
0 commit comments