Skip to content

Commit effe3f2

Browse files
author
Jesus Oliver
committed
Fixed publishing to maven
1 parent acc5a91 commit effe3f2

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

.github/workflows/main.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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 }}" = "" ];

jme3-ios-native/src/jme3_ios_native.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// jme3_ios_native.h
33
// jme3-ios-native
44
//
5-
// Created by v1r7ua1 on 19/09/2024.
5+
// Created by joliver82 on 19/09/2024.
66
//
77

88
#import <Foundation/Foundation.h>

0 commit comments

Comments
 (0)