Skip to content

Commit

Permalink
Fix ci compilation errors in openharmony
Browse files Browse the repository at this point in the history
  • Loading branch information
qiuguohua committed Nov 29, 2024
1 parent a4d5e58 commit 1a426da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/native-compile-platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ jobs:
NATIVE_ROOT=$GITHUB_WORKSPACE/native
echo "Compiling Openharmony ... "
cd $GITHUB_WORKSPACE/templates/openharmony
cd $GITHUB_WORKSPACE/templates/harmonyos-next
echo "message(STATUS \"hook before \${CC_TARGET_NAME}\")" >> Pre-Sample.cmake
echo "message(STATUS \"hook after \${CC_TARGET_NAME}\")" >> Post-Sample.cmake
Expand All @@ -350,7 +350,7 @@ jobs:
mkdir -p build-oh/assets
ASSET_DIR=$GITHUB_WORKSPACE/templates/openharmony/build-oh
ASSET_DIR=$GITHUB_WORKSPACE/templates/harmonyos-next/build-oh
echo "=============== HACK ./entry/build-profile.json5 ==============="
sed -i "s@[^-]DRES_DIR[^=]@$ASSET_DIR@g" ./entry/build-profile.json5
Expand Down

0 comments on commit 1a426da

Please sign in to comment.