Skip to content

Commit 8f963fe

Browse files
authored
Longer timeouts for publication (#3830)
1 parent 6ad922f commit 8f963fe

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515

1616
jobs:
1717
publish:
18-
timeout-minutes: 90
18+
timeout-minutes: 120
1919
runs-on: macos-latest
2020
steps:
2121
- uses: actions/checkout@v6
@@ -38,6 +38,8 @@ jobs:
3838

3939
- name: Publish artifacts
4040
run: ./gradlew publishToMavenCentral -Pversion=${{ github.event.release.name }} -Penable_wasm=true
41+
continue-on-error: true
4142

4243
- name: Publish plug-ins
4344
run: ./gradlew publishPlugins -Pversion=${{ github.event.release.name }} -Penable_wasm=true -Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }} -Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}
45+
continue-on-error: true

gradle.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ POM_SCM_URL=https://github.com/arrow-kt/arrow/
2222
POM_SCM_CONNECTION=scm:git:git://github.com/arrow-kt/arrow.git
2323
POM_SCM_DEV_CONNECTION=scm:git:ssh://git@github.com/arrow-kt/arrow.git
2424

25+
SONATYPE_CONNECT_TIMEOUT_SECONDS=600
26+
SONATYPE_CLOSE_TIMEOUT_SECONDS=1800
27+
2528
# Gradle options
2629
org.gradle.jvmargs=-Xmx4g
2730
org.gradle.parallel=true

0 commit comments

Comments
 (0)