diff --git a/.github/workflows/pr-jobs.yml b/.github/workflows/pr-jobs.yml index 9d89a111e5a8..d4362cbe5814 100644 --- a/.github/workflows/pr-jobs.yml +++ b/.github/workflows/pr-jobs.yml @@ -613,13 +613,15 @@ jobs: - name: PMD RocksDBJava run: make V=1 J=8 -j8 jpmd - uses: actions/upload-artifact@v4.0.0 + if: failure() with: name: pmd-report - path: "${{ github.workspace }}/java/target/pmd.xml" + path: java/target/pmd.xml - uses: actions/upload-artifact@v4.0.0 + if: failure() with: name: maven-site - path: "${{ github.workspace }}/java/target/site" + path: java/target/site build-linux-arm: if: ${{ github.repository_owner == 'facebook' }} runs-on: