From c8f71f3a44e233d6e2de06439d1f900bcbb61590 Mon Sep 17 00:00:00 2001 From: Kevin Dinkel <1225857+dinkelk@users.noreply.github.com> Date: Fri, 13 Sep 2024 19:01:48 -0600 Subject: [PATCH] Refine workflow artifacts --- .github/workflows/build_user_guide.yml | 4 ++-- .github/workflows/style_all.yml | 4 ++-- .github/workflows/test_all.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_user_guide.yml b/.github/workflows/build_user_guide.yml index 3d8b754f..8827c3ee 100644 --- a/.github/workflows/build_user_guide.yml +++ b/.github/workflows/build_user_guide.yml @@ -25,7 +25,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: user_guide - path: doc/user_guide/build/pdf/user_guide.pdf + path: ${{ github.workspace }}/doc/user_guide/build/pdf/user_guide.pdf if-no-files-found: error - name: Build the architecture description document run: bash env/github_run.sh "redo doc/architecture_description_document/build/pdf/architecture_description_document.pdf" @@ -33,6 +33,6 @@ jobs: uses: actions/upload-artifact@v4 with: name: architecture_description_document - path: doc/architecture_description_document/build/pdf/architecture_description_document.pdf + path: ${{ github.workspace }}/doc/architecture_description_document/build/pdf/architecture_description_document.pdf if-no-files-found: error - run: echo "Finished with status - ${{ job.status }}." diff --git a/.github/workflows/style_all.yml b/.github/workflows/style_all.yml index cd0cba07..e1fce953 100644 --- a/.github/workflows/style_all.yml +++ b/.github/workflows/style_all.yml @@ -25,8 +25,8 @@ jobs: if: always() # Make sure this runs even if `redo style_all` fails uses: actions/upload-artifact@v4 with: - name: failed_style_logs - path: build/failed_style_logs + name: style_logs + path: ${{ github.workspace }}/build if-no-files-found: ignore - run: echo "Finished with status - ${{ job.status }}." if: always() diff --git a/.github/workflows/test_all.yml b/.github/workflows/test_all.yml index 95dd0de8..50573f32 100644 --- a/.github/workflows/test_all.yml +++ b/.github/workflows/test_all.yml @@ -25,8 +25,8 @@ jobs: if: always() # Make sure this runs even if `redo test_all` fails uses: actions/upload-artifact@v4 with: - name: failed_test_logs - path: ${{ github.workspace }}/build/failed_test_logs + name: test_logs + path: ${{ github.workspace }}/build if-no-files-found: ignore - run: echo "Finished with status - ${{ job.status }}." if: always()