ci: Only upload artifacts in XRPLF repo owner (#6060)

This change prevents uploading too many artifacts in non-public repositories.
This commit is contained in:
Ayaz Salikhov
2025-11-20 18:09:03 +00:00
committed by GitHub
parent a3d4be4eaf
commit adbeb94c2b

View File

@@ -130,7 +130,7 @@ jobs:
--target "${CMAKE_TARGET}"
- name: Upload rippled artifact (Linux)
if: ${{ runner.os == 'Linux' }}
if: ${{ github.repository_owner == 'XRPLF' && runner.os == 'Linux' }}
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
env:
BUILD_DIR: ${{ inputs.build_dir }}