Skip to content
This repository was archived by the owner on Oct 28, 2024. It is now read-only.

Commit 3c40e94

Browse files
authored
await-maven-artifact check redirect (#2614)
1 parent bf1eaff commit 3c40e94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/await-maven-artifact/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ runs:
1717
shell: bash
1818
run: |
1919
full_url="https://oss.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=${{ inputs.groupid }}&a=${{ inputs.artifactid }}&v=${{ inputs.version }}"
20-
until curl -fs "${full_url}" > /dev/null
20+
until curl -fs -I -L "${full_url}" > /dev/null
2121
do
2222
echo "Artifact '${{ inputs.groupid }}:${{ inputs.artifactid }}:${{ inputs.version }}' not found on maven central. Sleeping 30 seconds, retrying afterwards"
2323
sleep 30s

0 commit comments

Comments
 (0)