Skip to content

Commit

Permalink
build: update github release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
matrei committed Dec 7, 2023
1 parent a287528 commit fff345d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@ jobs:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSPHRASE: ${{ secrets.SIGNING_PASSPHRASE }}
SECRING_FILE: ${{ secrets.SECRING_FILE }}
RELEASE_VERSION: ${{ steps.version.outputs.full_without_prefix }}
with:
arguments: -Prelease=true -Pversion=${RELEASE_VERSION} -Psigning.secretKeyRingFile=${{ github.workspace }}/secring.gpg publishToSonatype closeAndReleaseSonatypeStagingRepository
arguments: -Prelease=true -Pversion=${{ steps.version.outputs.full_without_prefix }} -Psigning.secretKeyRingFile=${{ github.workspace }}/secring.gpg publishToSonatype closeAndReleaseSonatypeStagingRepository

- name: --- DELETE SECRING FILE ---
run: rm ${{ github.workspace }}/secring.gpg
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ if (project.hasProperty('release')) {
}
}
transitionCheckOptions {
maxRetries = 40
delayBetween = java.time.Duration.ofMillis(2000)
maxRetries = 100
delayBetween = java.time.Duration.ofSeconds(5)
}
}
}
Expand Down

0 comments on commit fff345d

Please sign in to comment.