Skip to content

Commit 56376fe

Browse files
committed
Wait for artifacts to be available from Maven Central
Closes gh-91
1 parent 6e5f3a1 commit 56376fe

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,17 @@ jobs:
7878
close: true
7979
release: true
8080
generate-checksums: true
81+
- name: Await
82+
shell: bash
83+
run: |
84+
url=${{ format('https://repo.maven.apache.org/maven2/io/spring/develocity/conventions/develocity-conventions-core/{0}/develocity-conventions-core-{0}.jar', needs.get-version.outputs.version) }}
85+
echo "Waiting for $url"
86+
until curl --fail --head --silent $url > /dev/null
87+
do
88+
echo "."
89+
sleep 60
90+
done
91+
echo "$url is available"
8192
promote-release:
8293
name: Promote release
8394
needs:

0 commit comments

Comments
 (0)