@@ -121,9 +121,6 @@ jobs:
121121 with :
122122 xcode-version : ' 15.1.0'
123123
124- # - name: Check jni
125- # run: find / -name jni.h
126-
127124 - name : Clone the repo
128125 uses : actions/checkout@v4
129126 with :
@@ -137,7 +134,11 @@ jobs:
137134 ./gradlew -PuseCommitHashAsVersionName=true --no-daemon -PbuildNativeProjects=true \
138135 :jme3-ios-native:build
139136
140- # TODO: Add upload natives like done for Android?
137+ - name : Upload natives
138+ uses : actions/upload-artifact@master
139+ with :
140+ name : ios-natives
141+ path : build/native
141142
142143 # Build the natives on android
143144 BuildAndroidNatives :
@@ -207,6 +208,12 @@ jobs:
207208 name : android-natives
208209 path : build/native
209210
211+ - name : Download natives for iOS
212+ uses : actions/download-artifact@master
213+ with :
214+ name : ios-natives
215+ path : build/native
216+
210217 - name : Validate the Gradle wrapper
211218 uses : gradle/actions/wrapper-validation@v3
212219 - name : Build Engine
@@ -399,6 +406,12 @@ jobs:
399406 name : android-natives
400407 path : build/native
401408
409+ - name : Download natives for iOS
410+ uses : actions/download-artifact@master
411+ with :
412+ name : ios-natives
413+ path : build/native
414+
402415 - name : Rebuild the maven artifacts and deploy them to the Sonatype repository
403416 run : |
404417 if [ "${{ secrets.OSSRH_PASSWORD }}" = "" ];
@@ -456,6 +469,12 @@ jobs:
456469 name : android-natives
457470 path : build/native
458471
472+ - name : Download natives for iOS
473+ uses : actions/download-artifact@master
474+ with :
475+ name : ios-natives
476+ path : build/native
477+
459478 - name : Rebuild the maven artifacts and deploy them to Sonatype OSSRH
460479 run : |
461480 if [ "${{ secrets.OSSRH_PASSWORD }}" = "" ];
0 commit comments