Fix verify-staged-artifacts for proper artifact name

This commit is contained in:
Artem Bilan
2024-02-29 15:08:05 -05:00
parent c35fb90695
commit d557ec352a

View File

@@ -19,10 +19,10 @@ jobs:
- name: Download Artifact from Staging Repo
run: |
fileToDownload=org/springframework/cloud/fn/mail-supplier/${{ inputs.releaseVersion }}/mail-supplier-${{ inputs.releaseVersion }}.jar
fileToDownload=org/springframework/cloud/fn/spring-mail-supplier/${{ inputs.releaseVersion }}/spring-mail-supplier-${{ inputs.releaseVersion }}.jar
jfrog rt download libs-staging-local/$fileToDownload
if [ ! -f $fileToDownload ]
then
echo "::error title=No staged artifact::No mail-supplier-${{ inputs.releaseVersion }}.jar in staging repository"
echo "::error title=No staged artifact::No spring-mail-supplier-${{ inputs.releaseVersion }}.jar in staging repository"
exit 1
fi