diff --git a/.github/workflows/rocprofiler-sdk-docs.yml b/.github/workflows/rocprofiler-sdk-docs.yml index 6fade10f89..ce71bf5a1e 100644 --- a/.github/workflows/rocprofiler-sdk-docs.yml +++ b/.github/workflows/rocprofiler-sdk-docs.yml @@ -79,6 +79,8 @@ jobs: uses: actions/checkout@v4 with: sparse-checkout: projects/rocprofiler-sdk + submodules: 'recursive' + set-safe-directory: true - name: Create Docs Directory shell: bash working-directory: projects/rocprofiler-sdk/ @@ -91,7 +93,6 @@ jobs: shell: bash working-directory: projects/rocprofiler-sdk/ run: | - git config --global --add safe.directory '*' sudo apt-get update sudo apt-get install -y cmake gcc g++ libdw-dev libsqlite3-dev rpm python3 -m pip install -r requirements.txt @@ -101,7 +102,6 @@ jobs: shell: bash working-directory: projects/rocprofiler-sdk/ run: - git config --global --add safe.directory '*'; export CMAKE_PREFIX_PATH=/opt/rocm:${CMAKE_PREFIX_PATH}; cmake -B build -DROCPROFILER_DEP_ROCMCORE=ON