@@ -134,12 +134,11 @@ jobs:
134134 ./gradlew -PuseCommitHashAsVersionName=true --no-daemon -PbuildNativeProjects=true \
135135 :jme3-ios-native:build
136136
137- # TODO: how to upload this jars to maven?
138137 - name : Upload natives
139138 uses : actions/upload-artifact@master
140139 with :
141140 name : ios-natives
142- path : jme3-ios-native/build/ libs
141+ path : jme3-ios-native/template/META-INF/robovm/ios/ libs/jme3-ios-native.xcframework
143142
144143 # Build the natives on android
145144 BuildAndroidNatives :
@@ -209,6 +208,12 @@ jobs:
209208 name : android-natives
210209 path : build/native
211210
211+ - name : Download natives for iOS
212+ uses : actions/download-artifact@master
213+ with :
214+ name : ios-natives
215+ path : jme3-ios-native/template/META-INF/robovm/ios/libs/jme3-ios-native.xcframework
216+
212217 - name : Validate the Gradle wrapper
213218 uses : gradle/actions/wrapper-validation@v3
214219 - name : Build Engine
@@ -401,6 +406,12 @@ jobs:
401406 name : android-natives
402407 path : build/native
403408
409+ - name : Download natives for iOS
410+ uses : actions/download-artifact@master
411+ with :
412+ name : ios-natives
413+ path : jme3-ios-native/template/META-INF/robovm/ios/libs/jme3-ios-native.xcframework
414+
404415 - name : Rebuild the maven artifacts and deploy them to the Sonatype repository
405416 run : |
406417 if [ "${{ secrets.OSSRH_PASSWORD }}" = "" ];
@@ -458,6 +469,12 @@ jobs:
458469 name : android-natives
459470 path : build/native
460471
472+ - name : Download natives for iOS
473+ uses : actions/download-artifact@master
474+ with :
475+ name : ios-natives
476+ path : jme3-ios-native/template/META-INF/robovm/ios/libs/jme3-ios-native.xcframework
477+
461478 - name : Rebuild the maven artifacts and deploy them to Sonatype OSSRH
462479 run : |
463480 if [ "${{ secrets.OSSRH_PASSWORD }}" = "" ];
0 commit comments