From d05f608f00df9ec9794375df670ef72e60f7d68a Mon Sep 17 00:00:00 2001 From: Andre Parsons-Legault <17802877+andrelegault@users.noreply.github.com> Date: Thu, 14 Mar 2024 15:14:19 -0400 Subject: [PATCH] fix path to pants.log The log file is in workdir, according to https://github.com/pantsbuild/pants/blob/44a06c5825e294757fb1dfe5920ea4b81db56023/src/python/pants/init/logging.py#L232 The path referred to in the docs is preceded by workdir: https://github.com/pantsbuild/pants/blob/44a06c5825e294757fb1dfe5920ea4b81db56023/docs/docs/using-pants/using-pants-in-ci.mdx#L240 --- .github/workflows/pants.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pants.yaml b/.github/workflows/pants.yaml index 77515a4..c167e42 100644 --- a/.github/workflows/pants.yaml +++ b/.github/workflows/pants.yaml @@ -65,5 +65,5 @@ jobs: uses: actions/upload-artifact@v3 with: name: pants-log - path: .pants.d/pants.log + path: .pants.d/workdir/pants.log if: always() # We want the log even on failures.