Skip to content

Commit 009903e

Browse files
committed
Fixed paths
1 parent 40dd87e commit 009903e

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,7 @@ function build_target() {
8787
mvn_args+=("-Dcn1.plugin.version=$CODENAMEONE_PLUGIN_VERSION")
8888
fi
8989

90-
# Explicitly set the project directory to help the plugin find settings
91-
# Assuming APP_WORK_DIR is relative to current directory or absolute
92-
# We are already inside pushd APP_WORK_DIR, so project root is "."
90+
cd BTDemo
9391

9492
# Use cn1:build to generate native sources
9593
"$mvn_cmd" "${mvn_args[@]}" cn1:build

.github/workflows/maven.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
APP_DIR: BTDemo
5858
JAVA_HOME: ${{ env.JAVA17_HOME }}
5959
run: |
60-
./scripts/ci/build-thirdparty-app.sh android
60+
./github/scripts/build-thirdparty-app.sh android
6161
- name: Compile APK (Gradle)
6262
env:
6363
JAVA_HOME: ${{ env.JAVA17_HOME }}
@@ -116,7 +116,7 @@ jobs:
116116
APP_DIR: BTDemo
117117
BUILD_TARGET: ios-source
118118
run: |
119-
./scripts/ci/build-thirdparty-app.sh ios
119+
./github/scripts/build-thirdparty-app.sh ios
120120
- name: Compile iOS App (Xcode)
121121
run: |
122122
# Find the generated Xcode project
@@ -145,4 +145,4 @@ jobs:
145145
APP_BUNDLE: build/ios-sim/BTDemo.app
146146
BUNDLE_ID: com.codename1.btle
147147
run: |
148-
./scripts/ci/run-ios-simulator.sh
148+
./github/scripts/run-ios-simulator.sh

0 commit comments

Comments
 (0)