File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,13 +39,13 @@ jobs:
3939 VERSION=${VERSION#v}
4040 ARTIFACT="org.scip-code:scip-java:${VERSION}"
4141
42- for attempt in {1..20 }; do
42+ for attempt in {1..10 }; do
4343 if cs resolve "$ARTIFACT" >/dev/null; then
4444 break
4545 fi
4646
47- if [ "$attempt" -eq 20 ]; then
48- echo "Artifact $ARTIFACT was not resolvable after 20 attempts" >&2
47+ if [ "$attempt" -eq 10 ]; then
48+ echo "Artifact $ARTIFACT was not resolvable after 10 attempts" >&2
4949 exit 1
5050 fi
5151
5555
5656 cs bootstrap \
5757 --standalone \
58- --bat=true \
5958 -o scip-java \
6059 "$ARTIFACT" \
6160 --main org.scip_code.scip_java.ScipJava
6463 ./scip-java --help >/dev/null
6564
6665 mv scip-java "scip-java-${TAG}"
67- mv scip-java.bat "scip-java-${TAG}.bat"
68- shasum -a 256 "scip-java-${TAG}" "scip-java-${TAG}.bat" > "scip-java-${TAG}.sha256"
66+ shasum -a 256 "scip-java-${TAG}" > "scip-java-${TAG}.sha256"
6967
7068 - name : Check for GitHub release
7169 id : release
9593
9694 gh release upload "$TAG" \
9795 "scip-java-${TAG}" \
98- "scip-java-${TAG}.bat" \
9996 "scip-java-${TAG}.sha256" \
10097 --repo "scip-code/scip-java" \
10198 --clobber
You can’t perform that action at this time.
0 commit comments