[#430] Extend build timeout for deployment

This commit is contained in:
Carter Jernigan 2022-03-15 14:06:58 -04:00 committed by Carter Jernigan
parent 860d94e7cd
commit 9ee2fd1300
2 changed files with 4 additions and 4 deletions

View File

@ -59,7 +59,7 @@ jobs:
run: |
./gradlew publishToMavenLocal --no-parallel
- name: Deploy to Maven Central
timeout-minutes: 5
timeout-minutes: 8
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
@ -70,7 +70,7 @@ jobs:
GPG_PASSWORD: ${{ secrets.MAVEN_SIGNING_PASSWORD }}
run: |
./gradlew publish -Psigning.secretKeyRingFile=$GPG_KEY_PATH -Psigning.keyId=$GPG_KEY_ID -Psigning.password=$GPG_PASSWORD --no-parallel
./gradlew closeAndReleaseRepository
./gradlew closeAndReleaseRepository --no-parallel
- name: Collect Artifacts
timeout-minutes: 1
if: ${{ always() }}

View File

@ -60,7 +60,7 @@ jobs:
run: |
./gradlew publishToMavenLocal --no-parallel
- name: Deploy to Maven Central
timeout-minutes: 5
timeout-minutes: 8
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
@ -68,7 +68,7 @@ jobs:
ORG_GRADLE_PROJECT_RELEASE_SIGNING_ENABLED: false
run: |
./gradlew publish --no-parallel
./gradlew closeAndReleaseRepository
./gradlew closeAndReleaseRepository --no-parallel
- name: Collect Artifacts
timeout-minutes: 1
if: ${{ always() }}