Skip to content

Commit

Permalink
Set timeout setting to resolve the connection issue with nexus
Browse files Browse the repository at this point in the history
  • Loading branch information
jmatsu committed May 7, 2021
1 parent c0183f6 commit 4af2d71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ on:
jobs:
production-release:
runs-on: ubuntu-latest
env:
RELEASE_SCRIPT_TEST: true
steps:
- uses: actions/checkout@v2
- run: |
Expand All @@ -31,9 +29,11 @@ jobs:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
- name: Set up gradle.properties for sigining and nexus
# Add timeout setting due to https://github.com/DeployGate/gradle-deploygate-plugin/runs/2523846388
run: |
echo >> gradle.properties
cat<<EOF >> gradle.properties
systemProp.org.gradle.internal.http.socketTimeout=120000
nexusUsername=${{ secrets.SHARED_NEXUS_USERNAME }}
nexusPassword=${{ secrets.SHARED_NEXUS_PASSWORD }}
EOF
Expand Down

0 comments on commit 4af2d71

Please sign in to comment.