Skip to content

Commit ee560df

Browse files
committed
Switch wait from Sonatype to Maven Central
1 parent fa9373c commit ee560df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/actions/maven-release/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ runs:
2525
run: |
2626
goal="deploy"
2727
28-
if curl -f -s https://oss.sonatype.org/service/local/repositories/releases/content/org/eclipse/pass/$ARTIFACT/$RELEASE/ > /dev/null; then
28+
if curl -f -s https://repo1.maven.org/maven2/org/eclipse/pass/$ARTIFACT/$RELEASE/ > /dev/null; then
2929
echo "Release $RELEASE already exists"
3030
goal="install"
3131
fi
@@ -44,19 +44,19 @@ runs:
4444
fi
4545
fi
4646
47-
- name: Wait for Sonatype artifact
47+
- name: Wait for Maven Central
4848
shell: bash
4949
run: |
5050
echo "Waiting for $ARTIFACT $RELEASE to be released."
5151
5252
counter=0
53-
until curl -f -s https://oss.sonatype.org/service/local/repositories/releases/content/org/eclipse/pass/$ARTIFACT/$RELEASE/ > /dev/null
53+
until curl -f -s https://repo1.maven.org/maven2/org/eclipse/pass/$ARTIFACT/$RELEASE/ > /dev/null
5454
do
5555
sleep 60
5656
echo "."
5757
counter=$((counter+1))
5858
59-
if [ "$counter" -gt 20 ]; then
59+
if [ "$counter" -gt 30 ]; then
6060
echo "Timed out waiting for release"
6161
exit 1
6262
fi

0 commit comments

Comments
 (0)