Skip to content

Commit 3a5a1a7

Browse files
committed
Plugin upload workflow: Add 300s timeout to svn commit command (#55621)
1 parent a07e020 commit 3a5a1a7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/upload-release-to-plugin-repo.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ jobs:
200200
svn st | grep '^?' | awk '{print $2}' | xargs -r svn add
201201
svn st | grep '^!' | awk '{print $2}' | xargs -r svn rm
202202
svn commit -m "Committing version $VERSION" \
203-
--no-auth-cache --non-interactive --username "$SVN_USERNAME" --password "$SVN_PASSWORD"
203+
--no-auth-cache --non-interactive --username "$SVN_USERNAME" --password "$SVN_PASSWORD" \
204+
--config-option=servers:global:http-timeout=300
204205
205206
- name: Create the SVN tag
206207
working-directory: ./trunk
@@ -254,4 +255,5 @@ jobs:
254255
- name: Add the new version directory and commit changes to the SVN repository
255256
run: |
256257
svn import "$VERSION" "$PLUGIN_REPO_URL/tags/$VERSION" -m "Committing version $VERSION" \
257-
--no-auth-cache --non-interactive --username "$SVN_USERNAME" --password "$SVN_PASSWORD"
258+
--no-auth-cache --non-interactive --username "$SVN_USERNAME" --password "$SVN_PASSWORD" \
259+
--config-option=servers:global:http-timeout=300

0 commit comments

Comments
 (0)