Skip to content
This repository was archived by the owner on Nov 10, 2025. It is now read-only.

Commit 55b40f6

Browse files
committed
Fail verify-staged-artifacts.yml if no artifact
1 parent 9802afd commit 55b40f6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/verify-staged-artifacts.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,10 @@ jobs:
2020
JF_ENV_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }}
2121

2222
- name: Download Artifact from Staging Repo
23-
run: jfrog rt download libs-staging-local/org/springframework/integration/spring-integration-aws/${{ inputs.releaseVersion }}/spring-integration-aws-${{ inputs.releaseVersion }}.jar
23+
run: |
24+
jfrog rt download libs-staging-local/org/springframework/integration/spring-integration-aws/${{ inputs.releaseVersion }}/spring-integration-aws-${{ inputs.releaseVersion }}.jar spring-integration-aws.jar
25+
if [ ! -f spring-integration-aws.jar ]
26+
then
27+
echo "::error title=No staged artifact::No spring-integration-aws-${{ inputs.releaseVersion }}.jar in staging repository"
28+
exit 1
29+
fi

0 commit comments

Comments
 (0)