Skip to content

Commit edde16a

Browse files
authored
Merge pull request #378 from modelix/ci/increase-http-timeout-in-gradle-for-publishing
ci: increase HTTP timeout in Gradle for publishing
2 parents 88450f4 + 5b6819c commit edde16a

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,16 @@ jobs:
2929
- name: Use tag as version
3030
run: echo "${GITHUB_REF#refs/*/}" > version.txt
3131
- name: Build and Publish Artifacts
32-
run: ./gradlew --build-cache build publish -PciBuild=true -Partifacts.itemis.cloud.user=${{secrets.ARTIFACTS_ITEMIS_CLOUD_USER}} -Partifacts.itemis.cloud.pw=${{secrets.ARTIFACTS_ITEMIS_CLOUD_PW}} -Pgpr.user=${{ github.actor }} -Pgpr.key=${{ secrets.GITHUB_TOKEN }} -Pgpr.universalkey=${{ secrets.GHP_UNIVERSAL_PUBLISH_TOKEN }}
32+
run: >-
33+
./gradlew --build-cache build publish
34+
-PciBuild=true
35+
-Partifacts.itemis.cloud.user=${{ secrets.ARTIFACTS_ITEMIS_CLOUD_USER }}
36+
-Partifacts.itemis.cloud.pw=${{ secrets.ARTIFACTS_ITEMIS_CLOUD_PW }}
37+
-Pgpr.user=${{ github.actor }}
38+
-Pgpr.key=${{ secrets.GITHUB_TOKEN }}
39+
-Pgpr.universalkey=${{ secrets.GHP_UNIVERSAL_PUBLISH_TOKEN }}
40+
-Porg.gradle.internal.http.connectionTimeout=180000
41+
-Porg.gradle.internal.http.socketTimeout=180000
3342
env:
3443
NODE_AUTH_TOKEN: ${{ secrets.ARTIFACTS_ITEMIS_CLOUD_NPM_TOKEN }}
3544
- name: Set up QEMU

0 commit comments

Comments
 (0)