diff --git a/.github/workflows/bazel.yml b/.github/workflows/bazel.yml index dbc84f1ebea..7d899bef348 100644 --- a/.github/workflows/bazel.yml +++ b/.github/workflows/bazel.yml @@ -100,12 +100,29 @@ jobs: TARGETS=... fi if [ "${{ runner.os }}" = "Windows" ]; then - bazel --output_user_root=D:\\bazelroot ${ACTION} ${TARGETS} --config=ci -c opt --repo_env=WPI_PUBLISH_CLASSIFIER_FILTER='${{ matrix.classifier }}' + bazel --output_user_root=D:\\bazelroot ${ACTION} ${TARGETS} --config=ci -c opt --repo_env=WPI_PUBLISH_CLASSIFIER_FILTER='${{ matrix.classifier }}' --execution_log_compact_file="${{ matrix.name }} Exec Log.binpb.zst" else - bazel ${ACTION} ${TARGETS} --config=ci -c opt --repo_env=WPI_PUBLISH_CLASSIFIER_FILTER='${{ matrix.classifier }}' + bazel ${ACTION} ${TARGETS} --config=ci -c opt --repo_env=WPI_PUBLISH_CLASSIFIER_FILTER='${{ matrix.classifier }}' --execution_log_compact_file="${{ matrix.name }} Exec Log.binpb.zst" fi shell: bash + - uses: actions/upload-artifact@v7 + with: + archive: false + include-hidden-files: true + path: "/github/home/.bazel/command-*.profile.gz" + if: runner.os == 'Linux' + + - uses: actions/upload-artifact@v7 + with: + archive: false + path: "D:/bazelroot/**/command-*.profile.gz" + if: runner.os == 'Windows' + + - uses: actions/upload-artifact@v7 + with: + archive: false + path: "${{ matrix.name }} Exec Log.binpb.zst" - name: Check disk free space if: always() run: df -h