diff --git a/.github/workflows/capture-compile-commands.yaml b/.github/workflows/capture-compile-commands.yaml index 3917f27..1e0e8c4 100644 --- a/.github/workflows/capture-compile-commands.yaml +++ b/.github/workflows/capture-compile-commands.yaml @@ -34,7 +34,7 @@ jobs: name: compile-commands-${{ matrix.os}}-cmake path: | # the build subfolder name is autogenerated, so just use a glob. - nanobind_example/build/cp312-*/build.ninja # this has the linker command section. + nanobind_example/build/cp312-*/*.ninja # this has the linker command section. nanobind_example/build/cp312-*/CMakeCache.txt nanobind_example/build/cp312-*/compile_commands.json if-no-files-found: error @@ -50,6 +50,7 @@ jobs: --@rules_python//python/config_settings:python_version=3.12 \ --@nanobind_bazel//:minsize \ --@nanobind_bazel//:py-limited-api=cp312 + shell: bash working-directory: nanobind_example - name: Upload Bazel compile commands and flag files for ${{ matrix.os }} uses: actions/upload-artifact@v4 @@ -57,5 +58,5 @@ jobs: name: compile-commands-${{ matrix.os}}-bazel path: | nanobind_example/compile_commands.json - nanobind_example/bazel-out/*-opt/**/*.params # these should be two - the libnanobind params, and the nanobind_example_ext params. + nanobind_example/bazel-out/**/*.params # these should be two - the libnanobind params, and the nanobind_example_ext params. if-no-files-found: error