From b42a281cdfc2981f5015a53eb6b62c6b878a43bb Mon Sep 17 00:00:00 2001 From: Kevin Duret Date: Fri, 15 Nov 2024 15:08:54 +0100 Subject: [PATCH] fix(ci): upload each package once (#5289) --- .github/actions/package-delivery/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/package-delivery/action.yml b/.github/actions/package-delivery/action.yml index ef621e8648..bb73040901 100644 --- a/.github/actions/package-delivery/action.yml +++ b/.github/actions/package-delivery/action.yml @@ -185,7 +185,7 @@ runs: arch = 'x86_64'; } await exec.exec( - `jf rt upload "*.rpm" "${{ steps.get_repository_stability_path.outputs.repository_stability_path }}/${arch}/${{ inputs.module_name }}/" --flat` + `jf rt upload "${fileName}" "${{ steps.get_repository_stability_path.outputs.repository_stability_path }}/${arch}/${{ inputs.module_name }}/" --flat` ); } else if ('${{ steps.parse-distrib.outputs.package_extension }}' === 'deb') { let arch = 'all'; @@ -195,7 +195,7 @@ runs: } if ('${{ inputs.arch }}' === '' || '${{ inputs.arch }}' === arch) { await exec.exec( - `jf rt upload "*.deb" "${{ steps.get_repository_stability_path.outputs.repository_stability_path }}/pool/${{ inputs.module_name }}/" --deb "${{ inputs.distrib }}/main/${arch}" ${debTargetProps} --flat` + `jf rt upload "${fileName}" "${{ steps.get_repository_stability_path.outputs.repository_stability_path }}/pool/${{ inputs.module_name }}/" --deb "${{ inputs.distrib }}/main/${arch}" ${debTargetProps} --flat` ); } }