Skip to content

Commit a49633b

Browse files
authored
Upload packages only on 'workflow_dispatch' (#145)
[ROCm/rocprofiler-sdk commit: 9789f76]
1 parent eceb0c2 commit a49633b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/continuous_integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
ctest --test-dir build-tests-deb -LE "${${{ matrix.runner }}_EXCLUDE_LABEL_REGEX}" -E "${${{ matrix.runner }}_EXCLUDE_TESTS_REGEX}" --output-on-failure
156156
157157
- name: Archive production artifacts
158-
if: ${{ contains(matrix.runner, env.CORE_EXT_RUNNER) }}
158+
if: ${{ github.event_name == 'workflow_dispatch' && contains(matrix.runner, env.CORE_EXT_RUNNER) }}
159159
uses: actions/upload-artifact@v4
160160
with:
161161
name: installers-deb
@@ -278,7 +278,7 @@ jobs:
278278
ctest --test-dir build-tests-deb -LE "${${{ matrix.runner }}_EXCLUDE_LABEL_REGEX}" -E "${${{ matrix.runner }}_EXCLUDE_TESTS_REGEX}" --output-on-failure
279279
280280
- name: Archive production artifacts
281-
if: ${{ contains(matrix.runner, env.CORE_EXT_RUNNER) }}
281+
if: ${{ github.event_name == 'workflow_dispatch' && contains(matrix.runner, env.CORE_EXT_RUNNER) }}
282282
uses: actions/upload-artifact@v4
283283
with:
284284
name: installers-rpm

0 commit comments

Comments
 (0)