From a4732359ad97c2eaa99379dde4c35ea328177dff Mon Sep 17 00:00:00 2001 From: "Kuricheti, Mythreya" Date: Wed, 22 Jan 2025 11:50:15 -0800 Subject: [PATCH] Upload packages only on 'workflow_dispatch' (#145) [ROCm/rocprofiler-sdk commit: 9789f76ee6197708b9de166c579cc4419b3ddcc6] --- .../.github/workflows/continuous_integration.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/rocprofiler-sdk/.github/workflows/continuous_integration.yml b/projects/rocprofiler-sdk/.github/workflows/continuous_integration.yml index d0bad00f34..afb8a30888 100644 --- a/projects/rocprofiler-sdk/.github/workflows/continuous_integration.yml +++ b/projects/rocprofiler-sdk/.github/workflows/continuous_integration.yml @@ -155,7 +155,7 @@ jobs: ctest --test-dir build-tests-deb -LE "${${{ matrix.runner }}_EXCLUDE_LABEL_REGEX}" -E "${${{ matrix.runner }}_EXCLUDE_TESTS_REGEX}" --output-on-failure - name: Archive production artifacts - if: ${{ contains(matrix.runner, env.CORE_EXT_RUNNER) }} + if: ${{ github.event_name == 'workflow_dispatch' && contains(matrix.runner, env.CORE_EXT_RUNNER) }} uses: actions/upload-artifact@v4 with: name: installers-deb @@ -278,7 +278,7 @@ jobs: ctest --test-dir build-tests-deb -LE "${${{ matrix.runner }}_EXCLUDE_LABEL_REGEX}" -E "${${{ matrix.runner }}_EXCLUDE_TESTS_REGEX}" --output-on-failure - name: Archive production artifacts - if: ${{ contains(matrix.runner, env.CORE_EXT_RUNNER) }} + if: ${{ github.event_name == 'workflow_dispatch' && contains(matrix.runner, env.CORE_EXT_RUNNER) }} uses: actions/upload-artifact@v4 with: name: installers-rpm