diff --git a/.github/workflows/native-compile-platforms.yml b/.github/workflows/native-compile-platforms.yml index 087e230cc26..df96e21780c 100644 --- a/.github/workflows/native-compile-platforms.yml +++ b/.github/workflows/native-compile-platforms.yml @@ -258,7 +258,7 @@ jobs: id: cache-oh-sdk uses: actions/cache@v4 env: - cache-name: cache-oh-sdk-9 + cache-name: cache-oh-sdk-12 with: path: ${{ steps.oh-sdk-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-build-${{ env.cache-name }} @@ -295,11 +295,11 @@ jobs: npm -v java --version echo "=============== list files in oh sdk ($HOME/openharmony) ===============" - pushd $HOME/openharmony + pushd $HOME/openharmony/command-line-tools ls -l popd - export PATH=$PATH:$HOME/openharmony/bin + export PATH=$PATH:$HOME/openharmony/command-line-tools/bin which hvigorw NATIVE_ROOT=$GITHUB_WORKSPACE/native