Skip to content

Commit 1210925

Browse files
authored
Merge branch 'main' into moo-1825/fix-get-current-location
2 parents af2ac23 + 4aa14c2 commit 1210925

File tree

453 files changed

+2812
-1620
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

453 files changed

+2812
-1620
lines changed

Diff for: .github/actions/create-native-bundle/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ runs:
3131
mkdir -p ${{ inputs.platform }}/assets
3232
cd Native-Mobile-Resources-main/deployment/native && \
3333
/tmp/mxbuild/modeler/tools/node/linux-x64/node \
34-
/tmp/mxbuild/modeler/tools/node/node_modules/react-native/local-cli/cli.js \
34+
/tmp/mxbuild/modeler/tools/node/node_modules/react-native/cli.js \
3535
bundle --verbose --platform ${{ inputs.platform }} --dev false \
3636
--config "$PWD/metro.config.js" \
3737
--bundle-output $GITHUB_WORKSPACE/${{ inputs.platform }}/index.${{ inputs.platform }}.bundle \

Diff for: .github/actions/start-runtime/action.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ runs:
1717
- name: "Install Python dependencies"
1818
run: pip install pyaml httplib2
1919
shell: bash
20-
- name: "Setup Java 11"
20+
- name: "Setup Java 21"
2121
id: setup-java
22-
uses: actions/setup-java@v3.10.0
22+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 #v4
2323
with:
2424
distribution: "temurin"
25-
java-version: "11"
25+
java-version: "21"
2626
- name: "Extract deployment package"
2727
run: |
2828
mkdir project
@@ -50,4 +50,4 @@ runs:
5050
shell: bash
5151
- name: "Start mxruntime"
5252
run: bin/m2ee -c ${{ github.workspace }}/project/m2ee-native.yml --verbose --yolo start
53-
shell: bash
53+
shell: bash

Diff for: .github/scripts/mxbuild.Dockerfile

+12-11
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,31 @@ FROM mcr.microsoft.com/dotnet/runtime:8.0
22
ARG MENDIX_VERSION
33

44
RUN \
5-
echo "Installing Java 17..." && \
5+
echo "Installing Java 21..." && \
66
apt-get -qq update && \
77
apt-get -qq install -y wget libgdiplus && \
8-
wget -q https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_linux-x64_bin.tar.gz -O /tmp/openjdk.tar.gz && \
8+
wget -q https://download.oracle.com/java/21/latest/jdk-21_linux-x64_bin.tar.gz -O /tmp/openjdk.tar.gz || { echo "Failed to download Java 21"; exit 1; } && \
99
mkdir -p /usr/lib/jvm && \
10-
tar xfz /tmp/openjdk.tar.gz --directory /usr/lib/jvm && \
11-
mv /usr/lib/jvm/jdk-17.0.2 /usr/lib/jvm/java-17-openjdk && \
12-
rm /tmp/openjdk.tar.gz
10+
tar xfz /tmp/openjdk.tar.gz --directory /usr/lib/jvm || { echo "Failed to extract Java 21"; exit 1; } && \
11+
ls /usr/lib/jvm && \
12+
mv /usr/lib/jvm/jdk-21* /usr/lib/jvm/java-21-openjdk && \
13+
rm /tmp/openjdk.tar.gz
1314

1415
RUN \
1516
echo "Downloading mxbuild ${MENDIX_VERSION}..." && \
16-
wget -q https://cdn.mendix.com/runtime/mxbuild-${MENDIX_VERSION}.tar.gz -O /tmp/mxbuild.tar.gz && \
17+
wget -q https://cdn.mendix.com/runtime/mxbuild-${MENDIX_VERSION}.tar.gz -O /tmp/mxbuild.tar.gz || { echo "Failed to download mxbuild"; exit 1; } && \
1718
mkdir /tmp/mxbuild && \
18-
tar xfz /tmp/mxbuild.tar.gz --directory /tmp/mxbuild && \
19-
rm /tmp/mxbuild.tar.gz
19+
tar xfz /tmp/mxbuild.tar.gz --directory /tmp/mxbuild || { echo "Failed to extract mxbuild"; exit 1; } && \
20+
rm /tmp/mxbuild.tar.gz
2021

2122
RUN \
2223
apt-get -qq remove -y wget && \
23-
apt-get clean
24+
apt-get clean
2425

2526
RUN \
2627
echo "#!/bin/bash -x" >/bin/mxbuild && \
27-
echo "dotnet /tmp/mxbuild/modeler/mxbuild.dll --java-home=/usr/lib/jvm/java-17-openjdk --java-exe-path=/usr/lib/jvm/java-17-openjdk/bin/java \$@" >>/bin/mxbuild && \
28-
chmod +x /bin/mxbuild
28+
echo "dotnet /tmp/mxbuild/modeler/mxbuild.dll --java-home=/usr/lib/jvm/java-21-openjdk --java-exe-path=/usr/lib/jvm/java-21-openjdk/bin/java \$@" >>/bin/mxbuild && \
29+
chmod +x /bin/mxbuild
2930

3031
RUN \
3132
echo "#!/bin/bash -x" >/bin/mx && \

Diff for: .github/workflows/NativeAutomatedTestsAndroid.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
# - name: "Checking changed files"
2222
# id: files
23-
# uses: softprops/diffset@v1
23+
# uses: softprops/diffset@d5947696689a571f7a984a52505e2649eead5c22 # v1
2424
# if:
2525
# github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name ==
2626
# github.repository
@@ -49,7 +49,7 @@ jobs:
4949
id: yarn-cache-dir-path
5050
run: echo "dir=$(yarn config get cacheFolder)" >> ${{ runner.os == 'Windows' && '$env:GITHUB_ENV' || '$GITHUB_ENV' }}
5151
- name: "Defining cache"
52-
uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v2
52+
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
5353
env:
5454
cache-name: cache-node-modules
5555
with:

0 commit comments

Comments
 (0)