Skip to content

Commit adbeb94

Browse files
authored
ci: Only upload artifacts in XRPLF repo owner (#6060)
This change prevents uploading too many artifacts in non-public repositories.
1 parent a3d4be4 commit adbeb94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/reusable-build-test-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
--target "${CMAKE_TARGET}"
131131
132132
- name: Upload rippled artifact (Linux)
133-
if: ${{ runner.os == 'Linux' }}
133+
if: ${{ github.repository_owner == 'XRPLF' && runner.os == 'Linux' }}
134134
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
135135
env:
136136
BUILD_DIR: ${{ inputs.build_dir }}

0 commit comments

Comments
 (0)