File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
.github/actions/maven-release Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 25
25
run : |
26
26
goal="deploy"
27
27
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
29
29
echo "Release $RELEASE already exists"
30
30
goal="install"
31
31
fi
@@ -44,19 +44,19 @@ runs:
44
44
fi
45
45
fi
46
46
47
- - name : Wait for Sonatype artifact
47
+ - name : Wait for Maven Central
48
48
shell : bash
49
49
run : |
50
50
echo "Waiting for $ARTIFACT $RELEASE to be released."
51
51
52
52
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
54
54
do
55
55
sleep 60
56
56
echo "."
57
57
counter=$((counter+1))
58
58
59
- if [ "$counter" -gt 20 ]; then
59
+ if [ "$counter" -gt 30 ]; then
60
60
echo "Timed out waiting for release"
61
61
exit 1
62
62
fi
You can’t perform that action at this time.
0 commit comments