From 34145fa762fc1b4572065895d303a99b20585a96 Mon Sep 17 00:00:00 2001 From: "Madsen, Jonathan" Date: Wed, 22 Jan 2025 19:44:19 -0600 Subject: [PATCH] Upload artifacts only on 'workflow_dispatch' (#147) Co-authored-by: Jonathan R. Madsen --- .github/workflows/continuous_integration.yml | 1 + .github/workflows/docs.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index afb8a30888..f6bbfeb0e3 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -523,6 +523,7 @@ jobs: } - name: Archive Code Coverage Data + if: ${{ github.event_name == 'workflow_dispatch' }} uses: actions/upload-artifact@v4 with: name: code-coverage-details diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 900f85feec..8699648f7a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -75,6 +75,7 @@ jobs: conda activate rocprofiler-docs sudo ../scripts/update-docs.sh - name: Upload artifact + if: ${{ github.event_name == 'workflow_dispatch' }} uses: actions/upload-pages-artifact@v3 with: path: ./docs