Skip to content

Commit 55f562a

Browse files
committed
Refs #25442. Don't upload build artifact when tests are skipped.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
1 parent 1e3b24e commit 55f562a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/reusable-ubuntu-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ jobs:
170170
workspace: ${{ github.workspace }}
171171

172172
- name: Upload build artifacts
173-
if: ${{ inputs.run-build == true }}
173+
if: ${{ inputs.run-build == true && inputs.run-tests == true }}
174174
uses: eProsima/eProsima-CI/external/upload-artifact@v0
175175
with:
176176
name: fastdds_python_build_${{ inputs.label }}

.github/workflows/reusable-windows-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ jobs:
203203
workspace: ${{ github.workspace }}
204204

205205
- name: Upload build artifacts
206-
if: ${{ inputs.run-build == true }}
206+
if: ${{ inputs.run-build == true && inputs.run-tests == true }}
207207
uses: eProsima/eProsima-CI/external/upload-artifact@v0
208208
with:
209209
name: fastdds_python_build_${{ inputs.label }}

0 commit comments

Comments
 (0)